| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #include "components/prefs/pref_registry_simple.h" | 84 #include "components/prefs/pref_registry_simple.h" |
| 85 #include "components/prefs/pref_service.h" | 85 #include "components/prefs/pref_service.h" |
| 86 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 86 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
| 87 #include "components/rappor/rappor_service.h" | 87 #include "components/rappor/rappor_service.h" |
| 88 #include "components/search_engines/template_url_prepopulate_data.h" | 88 #include "components/search_engines/template_url_prepopulate_data.h" |
| 89 #include "components/ssl_config/ssl_config_service_manager.h" | 89 #include "components/ssl_config/ssl_config_service_manager.h" |
| 90 #include "components/startup_metric_utils/browser/startup_metric_utils.h" | 90 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
| 91 #include "components/sync_driver/sync_prefs.h" | 91 #include "components/sync_driver/sync_prefs.h" |
| 92 #include "components/syncable_prefs/pref_service_syncable.h" | 92 #include "components/syncable_prefs/pref_service_syncable.h" |
| 93 #include "components/translate/core/browser/translate_prefs.h" | 93 #include "components/translate/core/browser/translate_prefs.h" |
| 94 #include "components/update_client/update_client.h" |
| 94 #include "components/variations/service/variations_service.h" | 95 #include "components/variations/service/variations_service.h" |
| 95 #include "components/web_resource/promo_resource_service.h" | 96 #include "components/web_resource/promo_resource_service.h" |
| 96 #include "content/public/browser/render_process_host.h" | 97 #include "content/public/browser/render_process_host.h" |
| 97 #include "net/http/http_server_properties_manager.h" | 98 #include "net/http/http_server_properties_manager.h" |
| 98 | 99 |
| 99 #if defined(ENABLE_AUTOFILL_DIALOG) | 100 #if defined(ENABLE_AUTOFILL_DIALOG) |
| 100 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 101 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
| 101 #endif | 102 #endif |
| 102 | 103 |
| 103 #if BUILDFLAG(ENABLE_BACKGROUND) | 104 #if BUILDFLAG(ENABLE_BACKGROUND) |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 IOThread::RegisterPrefs(registry); | 303 IOThread::RegisterPrefs(registry); |
| 303 network_time::NetworkTimeTracker::RegisterPrefs(registry); | 304 network_time::NetworkTimeTracker::RegisterPrefs(registry); |
| 304 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 305 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
| 305 ProfileInfoCache::RegisterPrefs(registry); | 306 ProfileInfoCache::RegisterPrefs(registry); |
| 306 profiles::RegisterPrefs(registry); | 307 profiles::RegisterPrefs(registry); |
| 307 rappor::RapporService::RegisterPrefs(registry); | 308 rappor::RapporService::RegisterPrefs(registry); |
| 308 RegisterScreenshotPrefs(registry); | 309 RegisterScreenshotPrefs(registry); |
| 309 SigninManagerFactory::RegisterPrefs(registry); | 310 SigninManagerFactory::RegisterPrefs(registry); |
| 310 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); | 311 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); |
| 311 startup_metric_utils::RegisterPrefs(registry); | 312 startup_metric_utils::RegisterPrefs(registry); |
| 313 update_client::RegisterPrefs(registry); |
| 312 web_resource::PromoResourceService::RegisterPrefs(registry); | 314 web_resource::PromoResourceService::RegisterPrefs(registry); |
| 313 | 315 |
| 314 #if defined(ENABLE_AUTOFILL_DIALOG) | 316 #if defined(ENABLE_AUTOFILL_DIALOG) |
| 315 autofill::AutofillDialogController::RegisterPrefs(registry); | 317 autofill::AutofillDialogController::RegisterPrefs(registry); |
| 316 #endif | 318 #endif |
| 317 | 319 |
| 318 policy::BrowserPolicyConnector::RegisterPrefs(registry); | 320 policy::BrowserPolicyConnector::RegisterPrefs(registry); |
| 319 policy::PolicyStatisticsCollector::RegisterPrefs(registry); | 321 policy::PolicyStatisticsCollector::RegisterPrefs(registry); |
| 320 | 322 |
| 321 #if defined(ENABLE_EXTENSIONS) | 323 #if defined(ENABLE_EXTENSIONS) |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); | 671 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); |
| 670 #endif // defined(USE_AURA) | 672 #endif // defined(USE_AURA) |
| 671 | 673 |
| 672 #if BUILDFLAG(ENABLE_GOOGLE_NOW) | 674 #if BUILDFLAG(ENABLE_GOOGLE_NOW) |
| 673 // Added 3/2016. | 675 // Added 3/2016. |
| 674 profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled); | 676 profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled); |
| 675 #endif | 677 #endif |
| 676 } | 678 } |
| 677 | 679 |
| 678 } // namespace chrome | 680 } // namespace chrome |
| OLD | NEW |