| 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/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/intranet_redirect_detector.h" | 28 #include "chrome/browser/intranet_redirect_detector.h" |
| 29 #include "chrome/browser/io_thread.h" | 29 #include "chrome/browser/io_thread.h" |
| 30 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 30 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
| 31 #include "chrome/browser/media/media_device_id_salt.h" | 31 #include "chrome/browser/media/media_device_id_salt.h" |
| 32 #include "chrome/browser/media/media_stream_devices_controller.h" | 32 #include "chrome/browser/media/media_stream_devices_controller.h" |
| 33 #include "chrome/browser/metrics/chrome_metrics_service_client.h" | 33 #include "chrome/browser/metrics/chrome_metrics_service_client.h" |
| 34 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 34 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
| 35 #include "chrome/browser/net/net_pref_observer.h" | 35 #include "chrome/browser/net/net_pref_observer.h" |
| 36 #include "chrome/browser/net/prediction_options.h" | 36 #include "chrome/browser/net/prediction_options.h" |
| 37 #include "chrome/browser/net/predictor.h" | 37 #include "chrome/browser/net/predictor.h" |
| 38 #include "chrome/browser/net/ssl_config_service_manager.h" | |
| 39 #include "chrome/browser/notifications/extension_welcome_notification.h" | 38 #include "chrome/browser/notifications/extension_welcome_notification.h" |
| 40 #include "chrome/browser/notifications/notifier_state_tracker.h" | 39 #include "chrome/browser/notifications/notifier_state_tracker.h" |
| 41 #include "chrome/browser/pepper_flash_settings_manager.h" | 40 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 42 #include "chrome/browser/plugins/plugin_finder.h" | 41 #include "chrome/browser/plugins/plugin_finder.h" |
| 43 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 42 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 44 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 43 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 45 #include "chrome/browser/prefs/session_startup_pref.h" | 44 #include "chrome/browser/prefs/session_startup_pref.h" |
| 46 #include "chrome/browser/profiles/chrome_version_service.h" | 45 #include "chrome/browser/profiles/chrome_version_service.h" |
| 47 #include "chrome/browser/profiles/profile.h" | 46 #include "chrome/browser/profiles/profile.h" |
| 48 #include "chrome/browser/profiles/profile_impl.h" | 47 #include "chrome/browser/profiles/profile_impl.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 75 #include "components/enhanced_bookmarks/bookmark_server_cluster_service.h" | 74 #include "components/enhanced_bookmarks/bookmark_server_cluster_service.h" |
| 76 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 75 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 77 #include "components/network_time/network_time_tracker.h" | 76 #include "components/network_time/network_time_tracker.h" |
| 78 #include "components/omnibox/browser/zero_suggest_provider.h" | 77 #include "components/omnibox/browser/zero_suggest_provider.h" |
| 79 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 78 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 80 #include "components/password_manager/core/browser/password_manager.h" | 79 #include "components/password_manager/core/browser/password_manager.h" |
| 81 #include "components/pref_registry/pref_registry_syncable.h" | 80 #include "components/pref_registry/pref_registry_syncable.h" |
| 82 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 81 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
| 83 #include "components/rappor/rappor_service.h" | 82 #include "components/rappor/rappor_service.h" |
| 84 #include "components/search_engines/template_url_prepopulate_data.h" | 83 #include "components/search_engines/template_url_prepopulate_data.h" |
| 84 #include "components/ssl_config/ssl_config_service_manager.h" |
| 85 #include "components/sync_driver/sync_prefs.h" | 85 #include "components/sync_driver/sync_prefs.h" |
| 86 #include "components/syncable_prefs/pref_service_syncable.h" | 86 #include "components/syncable_prefs/pref_service_syncable.h" |
| 87 #include "components/translate/core/browser/translate_prefs.h" | 87 #include "components/translate/core/browser/translate_prefs.h" |
| 88 #include "components/variations/service/variations_service.h" | 88 #include "components/variations/service/variations_service.h" |
| 89 #include "components/web_resource/promo_resource_service.h" | 89 #include "components/web_resource/promo_resource_service.h" |
| 90 #include "content/public/browser/render_process_host.h" | 90 #include "content/public/browser/render_process_host.h" |
| 91 #include "net/http/http_server_properties_manager.h" | 91 #include "net/http/http_server_properties_manager.h" |
| 92 | 92 |
| 93 #if defined(ENABLE_AUTOFILL_DIALOG) | 93 #if defined(ENABLE_AUTOFILL_DIALOG) |
| 94 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 94 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 GpuModeManager::RegisterPrefs(registry); | 256 GpuModeManager::RegisterPrefs(registry); |
| 257 IntranetRedirectDetector::RegisterPrefs(registry); | 257 IntranetRedirectDetector::RegisterPrefs(registry); |
| 258 IOThread::RegisterPrefs(registry); | 258 IOThread::RegisterPrefs(registry); |
| 259 network_time::NetworkTimeTracker::RegisterPrefs(registry); | 259 network_time::NetworkTimeTracker::RegisterPrefs(registry); |
| 260 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 260 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
| 261 ProfileInfoCache::RegisterPrefs(registry); | 261 ProfileInfoCache::RegisterPrefs(registry); |
| 262 profiles::RegisterPrefs(registry); | 262 profiles::RegisterPrefs(registry); |
| 263 rappor::RapporService::RegisterPrefs(registry); | 263 rappor::RapporService::RegisterPrefs(registry); |
| 264 RegisterScreenshotPrefs(registry); | 264 RegisterScreenshotPrefs(registry); |
| 265 SigninManagerFactory::RegisterPrefs(registry); | 265 SigninManagerFactory::RegisterPrefs(registry); |
| 266 SSLConfigServiceManager::RegisterPrefs(registry); | 266 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); |
| 267 web_resource::PromoResourceService::RegisterPrefs(registry); | 267 web_resource::PromoResourceService::RegisterPrefs(registry); |
| 268 | 268 |
| 269 #if defined(ENABLE_AUTOFILL_DIALOG) | 269 #if defined(ENABLE_AUTOFILL_DIALOG) |
| 270 autofill::AutofillDialogController::RegisterPrefs(registry); | 270 autofill::AutofillDialogController::RegisterPrefs(registry); |
| 271 #endif | 271 #endif |
| 272 | 272 |
| 273 #if defined(ENABLE_CONFIGURATION_POLICY) | 273 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 274 policy::BrowserPolicyConnector::RegisterPrefs(registry); | 274 policy::BrowserPolicyConnector::RegisterPrefs(registry); |
| 275 policy::PolicyStatisticsCollector::RegisterPrefs(registry); | 275 policy::PolicyStatisticsCollector::RegisterPrefs(registry); |
| 276 #endif | 276 #endif |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 translate::TranslatePrefs::MigrateUserPrefs(profile_prefs, | 562 translate::TranslatePrefs::MigrateUserPrefs(profile_prefs, |
| 563 prefs::kAcceptLanguages); | 563 prefs::kAcceptLanguages); |
| 564 | 564 |
| 565 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 565 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
| 566 // Added 02/2015. | 566 // Added 02/2015. |
| 567 MigrateGoogleNowPrefs(profile); | 567 MigrateGoogleNowPrefs(profile); |
| 568 #endif | 568 #endif |
| 569 } | 569 } |
| 570 | 570 |
| 571 } // namespace chrome | 571 } // namespace chrome |
| OLD | NEW |