| 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 "apps/prefs.h" | 7 #include "apps/prefs.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/prefs/pref_registry_simple.h" | 9 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/browser/geolocation/geolocation_prefs.h" | 30 #include "chrome/browser/geolocation/geolocation_prefs.h" |
| 31 #include "chrome/browser/google/google_url_tracker.h" | 31 #include "chrome/browser/google/google_url_tracker.h" |
| 32 #include "chrome/browser/google/google_url_tracker_factory.h" | 32 #include "chrome/browser/google/google_url_tracker_factory.h" |
| 33 #include "chrome/browser/gpu/gl_string_manager.h" | 33 #include "chrome/browser/gpu/gl_string_manager.h" |
| 34 #include "chrome/browser/gpu/gpu_mode_manager.h" | 34 #include "chrome/browser/gpu/gpu_mode_manager.h" |
| 35 #include "chrome/browser/intranet_redirect_detector.h" | 35 #include "chrome/browser/intranet_redirect_detector.h" |
| 36 #include "chrome/browser/io_thread.h" | 36 #include "chrome/browser/io_thread.h" |
| 37 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 37 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
| 38 #include "chrome/browser/media/media_device_id_salt.h" | 38 #include "chrome/browser/media/media_device_id_salt.h" |
| 39 #include "chrome/browser/media/media_stream_devices_controller.h" | 39 #include "chrome/browser/media/media_stream_devices_controller.h" |
| 40 #include "chrome/browser/metrics/cloned_install_detector.h" |
| 40 #include "chrome/browser/metrics/metrics_log.h" | 41 #include "chrome/browser/metrics/metrics_log.h" |
| 41 #include "chrome/browser/metrics/metrics_service.h" | 42 #include "chrome/browser/metrics/metrics_service.h" |
| 42 #include "chrome/browser/metrics/variations/variations_service.h" | 43 #include "chrome/browser/metrics/variations/variations_service.h" |
| 43 #include "chrome/browser/net/http_server_properties_manager.h" | 44 #include "chrome/browser/net/http_server_properties_manager.h" |
| 44 #include "chrome/browser/net/net_pref_observer.h" | 45 #include "chrome/browser/net/net_pref_observer.h" |
| 45 #include "chrome/browser/net/predictor.h" | 46 #include "chrome/browser/net/predictor.h" |
| 46 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" | 47 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" |
| 47 #include "chrome/browser/net/ssl_config_service_manager.h" | 48 #include "chrome/browser/net/ssl_config_service_manager.h" |
| 48 #include "chrome/browser/network_time/network_time_service.h" | 49 #include "chrome/browser/network_time/network_time_service.h" |
| 49 #include "chrome/browser/notifications/desktop_notification_service.h" | 50 #include "chrome/browser/notifications/desktop_notification_service.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 79 #include "chrome/browser/ui/startup/default_browser_prompt.h" | 80 #include "chrome/browser/ui/startup/default_browser_prompt.h" |
| 80 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" | 81 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" |
| 81 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" | 82 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" |
| 82 #include "chrome/browser/ui/webui/flags_ui.h" | 83 #include "chrome/browser/ui/webui/flags_ui.h" |
| 83 #include "chrome/browser/ui/webui/instant_ui.h" | 84 #include "chrome/browser/ui/webui/instant_ui.h" |
| 84 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 85 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 85 #include "chrome/browser/ui/webui/plugins_ui.h" | 86 #include "chrome/browser/ui/webui/plugins_ui.h" |
| 86 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 87 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
| 87 #include "chrome/browser/upgrade_detector.h" | 88 #include "chrome/browser/upgrade_detector.h" |
| 88 #include "chrome/browser/web_resource/promo_resource_service.h" | 89 #include "chrome/browser/web_resource/promo_resource_service.h" |
| 90 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" |
| 89 #include "chrome/common/pref_names.h" | 91 #include "chrome/common/pref_names.h" |
| 90 #include "components/autofill/core/browser/autofill_manager.h" | 92 #include "components/autofill/core/browser/autofill_manager.h" |
| 91 #include "components/bookmarks/core/browser/bookmark_utils.h" | 93 #include "components/bookmarks/core/browser/bookmark_utils.h" |
| 92 #include "components/password_manager/core/browser/password_manager.h" | 94 #include "components/password_manager/core/browser/password_manager.h" |
| 93 #include "components/rappor/rappor_service.h" | 95 #include "components/rappor/rappor_service.h" |
| 94 #include "components/sync_driver/sync_prefs.h" | 96 #include "components/sync_driver/sync_prefs.h" |
| 95 #include "components/translate/core/browser/translate_prefs.h" | 97 #include "components/translate/core/browser/translate_prefs.h" |
| 96 #include "components/user_prefs/pref_registry_syncable.h" | 98 #include "components/user_prefs/pref_registry_syncable.h" |
| 97 #include "content/public/browser/render_process_host.h" | 99 #include "content/public/browser/render_process_host.h" |
| 98 #include "extensions/browser/extension_prefs.h" | 100 #include "extensions/browser/extension_prefs.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 ExternalProtocolHandler::RegisterPrefs(registry); | 228 ExternalProtocolHandler::RegisterPrefs(registry); |
| 227 FlagsUI::RegisterPrefs(registry); | 229 FlagsUI::RegisterPrefs(registry); |
| 228 geolocation::RegisterPrefs(registry); | 230 geolocation::RegisterPrefs(registry); |
| 229 GLStringManager::RegisterPrefs(registry); | 231 GLStringManager::RegisterPrefs(registry); |
| 230 GpuModeManager::RegisterPrefs(registry); | 232 GpuModeManager::RegisterPrefs(registry); |
| 231 IntranetRedirectDetector::RegisterPrefs(registry); | 233 IntranetRedirectDetector::RegisterPrefs(registry); |
| 232 IOThread::RegisterPrefs(registry); | 234 IOThread::RegisterPrefs(registry); |
| 233 KeywordEditorController::RegisterPrefs(registry); | 235 KeywordEditorController::RegisterPrefs(registry); |
| 234 MetricsLog::RegisterPrefs(registry); | 236 MetricsLog::RegisterPrefs(registry); |
| 235 MetricsService::RegisterPrefs(registry); | 237 MetricsService::RegisterPrefs(registry); |
| 238 metrics::CachingPermutedEntropyProvider::RegisterPrefs(registry); |
| 239 metrics::ClonedInstallDetector::RegisterPrefs(registry); |
| 236 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 240 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
| 237 ProfileInfoCache::RegisterPrefs(registry); | 241 ProfileInfoCache::RegisterPrefs(registry); |
| 238 profiles::RegisterPrefs(registry); | 242 profiles::RegisterPrefs(registry); |
| 239 PromoResourceService::RegisterPrefs(registry); | 243 PromoResourceService::RegisterPrefs(registry); |
| 240 rappor::RapporService::RegisterPrefs(registry); | 244 rappor::RapporService::RegisterPrefs(registry); |
| 241 RegisterScreenshotPrefs(registry); | 245 RegisterScreenshotPrefs(registry); |
| 242 SigninManagerFactory::RegisterPrefs(registry); | 246 SigninManagerFactory::RegisterPrefs(registry); |
| 243 SSLConfigServiceManager::RegisterPrefs(registry); | 247 SSLConfigServiceManager::RegisterPrefs(registry); |
| 244 UpgradeDetector::RegisterPrefs(registry); | 248 UpgradeDetector::RegisterPrefs(registry); |
| 245 WebCacheManager::RegisterPrefs(registry); | 249 WebCacheManager::RegisterPrefs(registry); |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 573 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 570 current_version); | 574 current_version); |
| 571 } | 575 } |
| 572 | 576 |
| 573 #if defined(OS_CHROMEOS) | 577 #if defined(OS_CHROMEOS) |
| 574 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 578 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
| 575 #endif | 579 #endif |
| 576 } | 580 } |
| 577 | 581 |
| 578 } // namespace chrome | 582 } // namespace chrome |
| OLD | NEW |