| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/prefs/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 #include "chrome/browser/media/protected_media_identifier_permission_context.h" | 188 #include "chrome/browser/media/protected_media_identifier_permission_context.h" |
| 189 #include "chrome/browser/metrics/chromeos_metrics_provider.h" | 189 #include "chrome/browser/metrics/chromeos_metrics_provider.h" |
| 190 #include "chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h" | 190 #include "chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h" |
| 191 #include "chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler
.h" | 191 #include "chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler
.h" |
| 192 #include "chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h" | 192 #include "chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h" |
| 193 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" | 193 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" |
| 194 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 194 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 195 #include "chromeos/audio/audio_devices_pref_handler_impl.h" | 195 #include "chromeos/audio/audio_devices_pref_handler_impl.h" |
| 196 #include "chromeos/timezone/timezone_resolver.h" | 196 #include "chromeos/timezone/timezone_resolver.h" |
| 197 #include "components/invalidation/impl/invalidator_storage.h" | 197 #include "components/invalidation/impl/invalidator_storage.h" |
| 198 #include "components/quirks/quirks_manager.h" |
| 198 #else | 199 #else |
| 199 #include "chrome/browser/extensions/default_apps.h" | 200 #include "chrome/browser/extensions/default_apps.h" |
| 200 #endif | 201 #endif |
| 201 | 202 |
| 202 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 203 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
| 203 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 204 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
| 204 #include "chrome/browser/ui/app_list/google_now_extension.h" | 205 #include "chrome/browser/ui/app_list/google_now_extension.h" |
| 205 #endif | 206 #endif |
| 206 | 207 |
| 207 #if defined(OS_MACOSX) | 208 #if defined(OS_MACOSX) |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 chromeos::DemoModeDetector::RegisterPrefs(registry); | 365 chromeos::DemoModeDetector::RegisterPrefs(registry); |
| 365 chromeos::Preferences::RegisterPrefs(registry); | 366 chromeos::Preferences::RegisterPrefs(registry); |
| 366 chromeos::proxy_config::RegisterPrefs(registry); | 367 chromeos::proxy_config::RegisterPrefs(registry); |
| 367 chromeos::RegisterDisplayLocalStatePrefs(registry); | 368 chromeos::RegisterDisplayLocalStatePrefs(registry); |
| 368 chromeos::ResetScreenHandler::RegisterPrefs(registry); | 369 chromeos::ResetScreenHandler::RegisterPrefs(registry); |
| 369 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); | 370 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); |
| 370 chromeos::SigninScreenHandler::RegisterPrefs(registry); | 371 chromeos::SigninScreenHandler::RegisterPrefs(registry); |
| 371 chromeos::StartupUtils::RegisterPrefs(registry); | 372 chromeos::StartupUtils::RegisterPrefs(registry); |
| 372 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); | 373 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); |
| 373 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); | 374 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); |
| 375 chromeos::TimeZoneResolver::RegisterPrefs(registry); |
| 374 chromeos::UserImageManager::RegisterPrefs(registry); | 376 chromeos::UserImageManager::RegisterPrefs(registry); |
| 375 chromeos::UserSessionManager::RegisterPrefs(registry); | 377 chromeos::UserSessionManager::RegisterPrefs(registry); |
| 376 chromeos::WallpaperManager::RegisterPrefs(registry); | 378 chromeos::WallpaperManager::RegisterPrefs(registry); |
| 377 chromeos::echo_offer::RegisterPrefs(registry); | 379 chromeos::echo_offer::RegisterPrefs(registry); |
| 378 extensions::ExtensionAssetsManagerChromeOS::RegisterPrefs(registry); | 380 extensions::ExtensionAssetsManagerChromeOS::RegisterPrefs(registry); |
| 379 invalidation::InvalidatorStorage::RegisterPrefs(registry); | 381 invalidation::InvalidatorStorage::RegisterPrefs(registry); |
| 380 policy::AutoEnrollmentClient::RegisterPrefs(registry); | 382 policy::AutoEnrollmentClient::RegisterPrefs(registry); |
| 381 policy::BrowserPolicyConnectorChromeOS::RegisterPrefs(registry); | 383 policy::BrowserPolicyConnectorChromeOS::RegisterPrefs(registry); |
| 382 policy::ConsumerManagementService::RegisterPrefs(registry); | 384 policy::ConsumerManagementService::RegisterPrefs(registry); |
| 383 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); | 385 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); |
| 384 policy::DeviceStatusCollector::RegisterPrefs(registry); | 386 policy::DeviceStatusCollector::RegisterPrefs(registry); |
| 385 policy::PolicyCertServiceFactory::RegisterPrefs(registry); | 387 policy::PolicyCertServiceFactory::RegisterPrefs(registry); |
| 386 chromeos::TimeZoneResolver::RegisterPrefs(registry); | 388 quirks::QuirksManager::RegisterPrefs(registry); |
| 387 #endif | 389 #endif |
| 388 | 390 |
| 389 #if defined(OS_MACOSX) | 391 #if defined(OS_MACOSX) |
| 390 confirm_quit::RegisterLocalState(registry); | 392 confirm_quit::RegisterLocalState(registry); |
| 391 QuitWithAppsController::RegisterPrefs(registry); | 393 QuitWithAppsController::RegisterPrefs(registry); |
| 392 #endif | 394 #endif |
| 393 | 395 |
| 394 #if defined(OS_WIN) | 396 #if defined(OS_WIN) |
| 395 app_metro_launch::RegisterPrefs(registry); | 397 app_metro_launch::RegisterPrefs(registry); |
| 396 component_updater::RegisterPrefsForSwReporter(registry); | 398 component_updater::RegisterPrefsForSwReporter(registry); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); | 669 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); |
| 668 #endif // defined(USE_AURA) | 670 #endif // defined(USE_AURA) |
| 669 | 671 |
| 670 #if BUILDFLAG(ENABLE_GOOGLE_NOW) | 672 #if BUILDFLAG(ENABLE_GOOGLE_NOW) |
| 671 // Added 3/2016. | 673 // Added 3/2016. |
| 672 profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled); | 674 profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled); |
| 673 #endif | 675 #endif |
| 674 } | 676 } |
| 675 | 677 |
| 676 } // namespace chrome | 678 } // namespace chrome |
| OLD | NEW |