| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/browser_ui_prefs.h" | 5 #include "chrome/browser/ui/browser_ui_prefs.h" |
| 6 | 6 |
| 7 #include "base/prefs/pref_registry_simple.h" | |
| 8 #include "base/prefs/pref_service.h" | |
| 9 #include "base/prefs/scoped_user_pref_update.h" | |
| 10 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 11 #include "chrome/browser/first_run/first_run.h" | 8 #include "chrome/browser/first_run/first_run.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
| 14 #include "components/pref_registry/pref_registry_syncable.h" | 11 #include "components/pref_registry/pref_registry_syncable.h" |
| 12 #include "components/prefs/pref_registry_simple.h" |
| 13 #include "components/prefs/pref_service.h" |
| 14 #include "components/prefs/scoped_user_pref_update.h" |
| 15 #include "components/translate/core/common/translate_pref_names.h" | 15 #include "components/translate/core/common/translate_pref_names.h" |
| 16 #include "content/public/common/webrtc_ip_handling_policy.h" | 16 #include "content/public/common/webrtc_ip_handling_policy.h" |
| 17 | 17 |
| 18 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
| 19 #include "base/win/windows_version.h" | 19 #include "base/win/windows_version.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 namespace chrome { | 22 namespace chrome { |
| 23 | 23 |
| 24 void RegisterBrowserPrefs(PrefRegistrySimple* registry) { | 24 void RegisterBrowserPrefs(PrefRegistrySimple* registry) { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 registry->RegisterBooleanPref(prefs::kPluginsAllowOutdated, false); | 134 registry->RegisterBooleanPref(prefs::kPluginsAllowOutdated, false); |
| 135 registry->RegisterBooleanPref(prefs::kPluginsAlwaysAuthorize, false); | 135 registry->RegisterBooleanPref(prefs::kPluginsAlwaysAuthorize, false); |
| 136 registry->RegisterBooleanPref(prefs::kClearPluginLSODataEnabled, true); | 136 registry->RegisterBooleanPref(prefs::kClearPluginLSODataEnabled, true); |
| 137 registry->RegisterBooleanPref(prefs::kHideWebStoreIcon, false); | 137 registry->RegisterBooleanPref(prefs::kHideWebStoreIcon, false); |
| 138 #if !defined(OS_MACOSX) | 138 #if !defined(OS_MACOSX) |
| 139 registry->RegisterBooleanPref(prefs::kFullscreenAllowed, true); | 139 registry->RegisterBooleanPref(prefs::kFullscreenAllowed, true); |
| 140 #endif | 140 #endif |
| 141 } | 141 } |
| 142 | 142 |
| 143 } // namespace chrome | 143 } // namespace chrome |
| OLD | NEW |