Introduce CrosBrowserWithOOBE, which exposes an oobe property.
[chromium-blink-merge.git] / apps / prefs.cc
blob0e66801ca2d1fab780c7aa23267e44df1f13fa69
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/user_prefs/pref_registry_syncable.h"
11 namespace apps {
13 void RegisterPrefs(PrefRegistrySimple* registry) {
14 #if defined(OS_WIN)
15 registry->RegisterStringPref(prefs::kAppLaunchForMetroRestart, "");
16 registry->RegisterStringPref(prefs::kAppLaunchForMetroRestartProfile, "");
17 #endif
20 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
21 #if !defined(OS_MACOSX)
22 registry->RegisterBooleanPref(
23 prefs::kAppFullscreenAllowed, true,
24 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
25 #endif
28 } // namespace apps