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/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 #include "chrome/common/pref_names.h" | 72 #include "chrome/common/pref_names.h" |
73 #include "components/autofill/core/browser/autofill_manager.h" | 73 #include "components/autofill/core/browser/autofill_manager.h" |
74 #include "components/certificate_transparency/ct_policy_manager.h" | 74 #include "components/certificate_transparency/ct_policy_manager.h" |
75 #include "components/content_settings/core/browser/host_content_settings_map.h" | 75 #include "components/content_settings/core/browser/host_content_settings_map.h" |
76 #include "components/dom_distiller/core/distilled_page_prefs.h" | 76 #include "components/dom_distiller/core/distilled_page_prefs.h" |
77 #include "components/flags_ui/pref_service_flags_storage.h" | 77 #include "components/flags_ui/pref_service_flags_storage.h" |
78 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 78 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
79 #include "components/metrics/metrics_service.h" | 79 #include "components/metrics/metrics_service.h" |
80 #include "components/network_time/network_time_tracker.h" | 80 #include "components/network_time/network_time_tracker.h" |
81 #include "components/ntp_snippets/ntp_snippets_service.h" | 81 #include "components/ntp_snippets/ntp_snippets_service.h" |
| 82 #include "components/ntp_snippets/request_counter.h" |
82 #include "components/omnibox/browser/zero_suggest_provider.h" | 83 #include "components/omnibox/browser/zero_suggest_provider.h" |
83 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 84 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
84 #include "components/password_manager/core/browser/password_manager.h" | 85 #include "components/password_manager/core/browser/password_manager.h" |
85 #include "components/policy/core/browser/browser_policy_connector.h" | 86 #include "components/policy/core/browser/browser_policy_connector.h" |
86 #include "components/policy/core/browser/url_blacklist_manager.h" | 87 #include "components/policy/core/browser/url_blacklist_manager.h" |
87 #include "components/policy/core/common/policy_statistics_collector.h" | 88 #include "components/policy/core/common/policy_statistics_collector.h" |
88 #include "components/pref_registry/pref_registry_syncable.h" | 89 #include "components/pref_registry/pref_registry_syncable.h" |
89 #include "components/prefs/pref_registry_simple.h" | 90 #include "components/prefs/pref_registry_simple.h" |
90 #include "components/prefs/pref_service.h" | 91 #include "components/prefs/pref_service.h" |
91 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 92 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 DownloadPrefs::RegisterProfilePrefs(registry); | 455 DownloadPrefs::RegisterProfilePrefs(registry); |
455 HostContentSettingsMap::RegisterProfilePrefs(registry); | 456 HostContentSettingsMap::RegisterProfilePrefs(registry); |
456 IncognitoModePrefs::RegisterProfilePrefs(registry); | 457 IncognitoModePrefs::RegisterProfilePrefs(registry); |
457 InstantUI::RegisterProfilePrefs(registry); | 458 InstantUI::RegisterProfilePrefs(registry); |
458 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 459 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
459 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 460 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
460 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 461 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
461 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 462 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
462 NetPrefObserver::RegisterProfilePrefs(registry); | 463 NetPrefObserver::RegisterProfilePrefs(registry); |
463 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); | 464 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
| 465 ntp_snippets::RequestCounter::RegisterProfilePrefs(registry); |
464 password_bubble_experiment::RegisterPrefs(registry); | 466 password_bubble_experiment::RegisterPrefs(registry); |
465 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 467 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
466 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 468 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
467 PrefsTabHelper::RegisterProfilePrefs(registry); | 469 PrefsTabHelper::RegisterProfilePrefs(registry); |
468 Profile::RegisterProfilePrefs(registry); | 470 Profile::RegisterProfilePrefs(registry); |
469 ProfileImpl::RegisterProfilePrefs(registry); | 471 ProfileImpl::RegisterProfilePrefs(registry); |
470 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 472 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
471 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 473 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
472 RegisterBrowserUserPrefs(registry); | 474 RegisterBrowserUserPrefs(registry); |
473 SessionStartupPref::RegisterProfilePrefs(registry); | 475 SessionStartupPref::RegisterProfilePrefs(registry); |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 profile_prefs->ClearPref(kCheckDefaultBrowser); | 728 profile_prefs->ClearPref(kCheckDefaultBrowser); |
727 | 729 |
728 // Added 5/2016. | 730 // Added 5/2016. |
729 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 731 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
730 | 732 |
731 // Added 7/2016. | 733 // Added 7/2016. |
732 DeleteWebRTCIdentityStoreDB(profile); | 734 DeleteWebRTCIdentityStoreDB(profile); |
733 } | 735 } |
734 | 736 |
735 } // namespace chrome | 737 } // namespace chrome |
OLD | NEW |