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/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 #include "chrome/browser/chromeos/net/proxy_config_handler.h" | 186 #include "chrome/browser/chromeos/net/proxy_config_handler.h" |
187 #include "chrome/browser/chromeos/platform_keys/key_permissions.h" | 187 #include "chrome/browser/chromeos/platform_keys/key_permissions.h" |
188 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" | 188 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" |
189 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 189 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
190 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 190 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
191 #include "chrome/browser/chromeos/policy/device_status_collector.h" | 191 #include "chrome/browser/chromeos/policy/device_status_collector.h" |
192 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 192 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
193 #include "chrome/browser/chromeos/power/power_prefs.h" | 193 #include "chrome/browser/chromeos/power/power_prefs.h" |
194 #include "chrome/browser/chromeos/preferences.h" | 194 #include "chrome/browser/chromeos/preferences.h" |
195 #include "chrome/browser/chromeos/printing/printer_pref_manager.h" | 195 #include "chrome/browser/chromeos/printing/printer_pref_manager.h" |
| 196 #include "chrome/browser/chromeos/resource_reporter/resource_reporter.h" |
196 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h" | 197 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h" |
197 #include "chrome/browser/chromeos/settings/device_settings_cache.h" | 198 #include "chrome/browser/chromeos/settings/device_settings_cache.h" |
198 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 199 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
199 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 200 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" |
200 #include "chrome/browser/chromeos/system/input_device_settings.h" | 201 #include "chrome/browser/chromeos/system/input_device_settings.h" |
201 #include "chrome/browser/extensions/api/enterprise_platform_keys_private/enterpr
ise_platform_keys_private_api.h" | 202 #include "chrome/browser/extensions/api/enterprise_platform_keys_private/enterpr
ise_platform_keys_private_api.h" |
202 #include "chrome/browser/extensions/extension_assets_manager_chromeos.h" | 203 #include "chrome/browser/extensions/extension_assets_manager_chromeos.h" |
203 #include "chrome/browser/media/protected_media_identifier_permission_context.h" | 204 #include "chrome/browser/media/protected_media_identifier_permission_context.h" |
204 #include "chrome/browser/metrics/chromeos_metrics_provider.h" | 205 #include "chrome/browser/metrics/chromeos_metrics_provider.h" |
205 #include "chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h" | 206 #include "chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 chromeos::EnableDebuggingScreenHandler::RegisterPrefs(registry); | 413 chromeos::EnableDebuggingScreenHandler::RegisterPrefs(registry); |
413 chromeos::language_prefs::RegisterPrefs(registry); | 414 chromeos::language_prefs::RegisterPrefs(registry); |
414 chromeos::KioskAppManager::RegisterPrefs(registry); | 415 chromeos::KioskAppManager::RegisterPrefs(registry); |
415 chromeos::MultiProfileUserController::RegisterPrefs(registry); | 416 chromeos::MultiProfileUserController::RegisterPrefs(registry); |
416 chromeos::HIDDetectionScreenHandler::RegisterPrefs(registry); | 417 chromeos::HIDDetectionScreenHandler::RegisterPrefs(registry); |
417 chromeos::DemoModeDetector::RegisterPrefs(registry); | 418 chromeos::DemoModeDetector::RegisterPrefs(registry); |
418 chromeos::Preferences::RegisterPrefs(registry); | 419 chromeos::Preferences::RegisterPrefs(registry); |
419 chromeos::proxy_config::RegisterPrefs(registry); | 420 chromeos::proxy_config::RegisterPrefs(registry); |
420 chromeos::RegisterDisplayLocalStatePrefs(registry); | 421 chromeos::RegisterDisplayLocalStatePrefs(registry); |
421 chromeos::ResetScreenHandler::RegisterPrefs(registry); | 422 chromeos::ResetScreenHandler::RegisterPrefs(registry); |
| 423 chromeos::ResourceReporter::RegisterPrefs(registry); |
422 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); | 424 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); |
423 chromeos::SigninScreenHandler::RegisterPrefs(registry); | 425 chromeos::SigninScreenHandler::RegisterPrefs(registry); |
424 chromeos::StartupUtils::RegisterPrefs(registry); | 426 chromeos::StartupUtils::RegisterPrefs(registry); |
425 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); | 427 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); |
426 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); | 428 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); |
427 chromeos::TimeZoneResolver::RegisterPrefs(registry); | 429 chromeos::TimeZoneResolver::RegisterPrefs(registry); |
428 chromeos::UserImageManager::RegisterPrefs(registry); | 430 chromeos::UserImageManager::RegisterPrefs(registry); |
429 chromeos::UserSessionManager::RegisterPrefs(registry); | 431 chromeos::UserSessionManager::RegisterPrefs(registry); |
430 chromeos::WallpaperManager::RegisterPrefs(registry); | 432 chromeos::WallpaperManager::RegisterPrefs(registry); |
431 chromeos::echo_offer::RegisterPrefs(registry); | 433 chromeos::echo_offer::RegisterPrefs(registry); |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 // Added 8/2016. | 775 // Added 8/2016. |
774 profile_prefs->ClearPref(kStaticEncodings); | 776 profile_prefs->ClearPref(kStaticEncodings); |
775 profile_prefs->ClearPref(kRecentlySelectedEncoding); | 777 profile_prefs->ClearPref(kRecentlySelectedEncoding); |
776 | 778 |
777 // Added 9/2016. | 779 // Added 9/2016. |
778 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); | 780 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); |
779 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); | 781 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); |
780 } | 782 } |
781 | 783 |
782 } // namespace chrome | 784 } // namespace chrome |
OLD | NEW |