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