| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "chrome/browser/ui/webui/plugins/plugins_ui.h" | 66 #include "chrome/browser/ui/webui/plugins/plugins_ui.h" |
| 67 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 67 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
| 68 #include "chrome/common/features.h" | 68 #include "chrome/common/features.h" |
| 69 #include "chrome/common/pref_names.h" | 69 #include "chrome/common/pref_names.h" |
| 70 #include "components/autofill/core/browser/autofill_manager.h" | 70 #include "components/autofill/core/browser/autofill_manager.h" |
| 71 #include "components/content_settings/core/browser/host_content_settings_map.h" | 71 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 72 #include "components/dom_distiller/core/distilled_page_prefs.h" | 72 #include "components/dom_distiller/core/distilled_page_prefs.h" |
| 73 #include "components/flags_ui/pref_service_flags_storage.h" | 73 #include "components/flags_ui/pref_service_flags_storage.h" |
| 74 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 74 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 75 #include "components/network_time/network_time_tracker.h" | 75 #include "components/network_time/network_time_tracker.h" |
| 76 #include "components/ntp_snippets/ntp_snippets_service.h" |
| 76 #include "components/omnibox/browser/zero_suggest_provider.h" | 77 #include "components/omnibox/browser/zero_suggest_provider.h" |
| 77 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 78 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 78 #include "components/password_manager/core/browser/password_manager.h" | 79 #include "components/password_manager/core/browser/password_manager.h" |
| 79 #include "components/pref_registry/pref_registry_syncable.h" | 80 #include "components/pref_registry/pref_registry_syncable.h" |
| 80 #include "components/prefs/pref_registry_simple.h" | 81 #include "components/prefs/pref_registry_simple.h" |
| 81 #include "components/prefs/pref_service.h" | 82 #include "components/prefs/pref_service.h" |
| 82 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 83 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
| 83 #include "components/rappor/rappor_service.h" | 84 #include "components/rappor/rappor_service.h" |
| 84 #include "components/search_engines/template_url_prepopulate_data.h" | 85 #include "components/search_engines/template_url_prepopulate_data.h" |
| 85 #include "components/ssl_config/ssl_config_service_manager.h" | 86 #include "components/ssl_config/ssl_config_service_manager.h" |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); | 418 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
| 418 DownloadPrefs::RegisterProfilePrefs(registry); | 419 DownloadPrefs::RegisterProfilePrefs(registry); |
| 419 HostContentSettingsMap::RegisterProfilePrefs(registry); | 420 HostContentSettingsMap::RegisterProfilePrefs(registry); |
| 420 IncognitoModePrefs::RegisterProfilePrefs(registry); | 421 IncognitoModePrefs::RegisterProfilePrefs(registry); |
| 421 InstantUI::RegisterProfilePrefs(registry); | 422 InstantUI::RegisterProfilePrefs(registry); |
| 422 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 423 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
| 423 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 424 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 424 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 425 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 425 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 426 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 426 NetPrefObserver::RegisterProfilePrefs(registry); | 427 NetPrefObserver::RegisterProfilePrefs(registry); |
| 428 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
| 427 password_bubble_experiment::RegisterPrefs(registry); | 429 password_bubble_experiment::RegisterPrefs(registry); |
| 428 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 430 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 429 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 431 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
| 430 PrefsTabHelper::RegisterProfilePrefs(registry); | 432 PrefsTabHelper::RegisterProfilePrefs(registry); |
| 431 Profile::RegisterProfilePrefs(registry); | 433 Profile::RegisterProfilePrefs(registry); |
| 432 ProfileImpl::RegisterProfilePrefs(registry); | 434 ProfileImpl::RegisterProfilePrefs(registry); |
| 433 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 435 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
| 434 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 436 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
| 435 RegisterBrowserUserPrefs(registry); | 437 RegisterBrowserUserPrefs(registry); |
| 436 SessionStartupPref::RegisterProfilePrefs(registry); | 438 SessionStartupPref::RegisterProfilePrefs(registry); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 profile_prefs->ClearPref(kOverscrollVerticalThresholdComplete); | 646 profile_prefs->ClearPref(kOverscrollVerticalThresholdComplete); |
| 645 profile_prefs->ClearPref(kOverscrollMinimumThresholdStart); | 647 profile_prefs->ClearPref(kOverscrollMinimumThresholdStart); |
| 646 profile_prefs->ClearPref(kOverscrollMinimumThresholdStartTouchpad); | 648 profile_prefs->ClearPref(kOverscrollMinimumThresholdStartTouchpad); |
| 647 profile_prefs->ClearPref(kOverscrollVerticalThresholdStart); | 649 profile_prefs->ClearPref(kOverscrollVerticalThresholdStart); |
| 648 profile_prefs->ClearPref(kOverscrollHorizontalResistThreshold); | 650 profile_prefs->ClearPref(kOverscrollHorizontalResistThreshold); |
| 649 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); | 651 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); |
| 650 #endif // defined(USE_AURA) | 652 #endif // defined(USE_AURA) |
| 651 } | 653 } |
| 652 | 654 |
| 653 } // namespace chrome | 655 } // namespace chrome |
| OLD | NEW |