Fix memory leak in app_list_view_unittest.
[chromium-blink-merge.git] / apps / prefs.cc
blob0521a5cd3f01bafc8e5ec35d7f56005336be4e78
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "apps/prefs.h"
7 #include "apps/pref_names.h"
8 #include "base/prefs/pref_registry_simple.h"
9 #include "components/pref_registry/pref_registry_syncable.h"
11 namespace apps {
13 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
14 #if !defined(OS_MACOSX)
15 registry->RegisterBooleanPref(
16 prefs::kAppFullscreenAllowed, true,
17 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
18 #endif
21 } // namespace apps