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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 #include "chrome/common/features.h" | 69 #include "chrome/common/features.h" |
70 #include "chrome/common/pref_names.h" | 70 #include "chrome/common/pref_names.h" |
71 #include "components/autofill/core/browser/autofill_manager.h" | 71 #include "components/autofill/core/browser/autofill_manager.h" |
72 #include "components/certificate_transparency/ct_policy_manager.h" | 72 #include "components/certificate_transparency/ct_policy_manager.h" |
73 #include "components/content_settings/core/browser/host_content_settings_map.h" | 73 #include "components/content_settings/core/browser/host_content_settings_map.h" |
74 #include "components/dom_distiller/core/distilled_page_prefs.h" | 74 #include "components/dom_distiller/core/distilled_page_prefs.h" |
75 #include "components/flags_ui/pref_service_flags_storage.h" | 75 #include "components/flags_ui/pref_service_flags_storage.h" |
76 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 76 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
77 #include "components/metrics/metrics_service.h" | 77 #include "components/metrics/metrics_service.h" |
78 #include "components/network_time/network_time_tracker.h" | 78 #include "components/network_time/network_time_tracker.h" |
| 79 #include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h" |
79 #include "components/ntp_snippets/ntp_snippets_service.h" | 80 #include "components/ntp_snippets/ntp_snippets_service.h" |
80 #include "components/ntp_snippets/request_throttler.h" | 81 #include "components/ntp_snippets/request_throttler.h" |
81 #include "components/omnibox/browser/zero_suggest_provider.h" | 82 #include "components/omnibox/browser/zero_suggest_provider.h" |
82 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 83 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
83 #include "components/password_manager/core/browser/password_manager.h" | 84 #include "components/password_manager/core/browser/password_manager.h" |
84 #include "components/policy/core/browser/browser_policy_connector.h" | 85 #include "components/policy/core/browser/browser_policy_connector.h" |
85 #include "components/policy/core/browser/url_blacklist_manager.h" | 86 #include "components/policy/core/browser/url_blacklist_manager.h" |
86 #include "components/policy/core/common/policy_statistics_collector.h" | 87 #include "components/policy/core/common/policy_statistics_collector.h" |
87 #include "components/pref_registry/pref_registry_syncable.h" | 88 #include "components/pref_registry/pref_registry_syncable.h" |
88 #include "components/prefs/pref_registry_simple.h" | 89 #include "components/prefs/pref_registry_simple.h" |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 chrome_prefs::RegisterProfilePrefs(registry); | 455 chrome_prefs::RegisterProfilePrefs(registry); |
455 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); | 456 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
456 DownloadPrefs::RegisterProfilePrefs(registry); | 457 DownloadPrefs::RegisterProfilePrefs(registry); |
457 HostContentSettingsMap::RegisterProfilePrefs(registry); | 458 HostContentSettingsMap::RegisterProfilePrefs(registry); |
458 IncognitoModePrefs::RegisterProfilePrefs(registry); | 459 IncognitoModePrefs::RegisterProfilePrefs(registry); |
459 InstantUI::RegisterProfilePrefs(registry); | 460 InstantUI::RegisterProfilePrefs(registry); |
460 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 461 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
461 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 462 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
462 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 463 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
463 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 464 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 465 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); |
464 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); | 466 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
465 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); | 467 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
466 password_bubble_experiment::RegisterPrefs(registry); | 468 password_bubble_experiment::RegisterPrefs(registry); |
467 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 469 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
468 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 470 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
469 PrefsTabHelper::RegisterProfilePrefs(registry); | 471 PrefsTabHelper::RegisterProfilePrefs(registry); |
470 Profile::RegisterProfilePrefs(registry); | 472 Profile::RegisterProfilePrefs(registry); |
471 ProfileImpl::RegisterProfilePrefs(registry); | 473 ProfileImpl::RegisterProfilePrefs(registry); |
472 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 474 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
473 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 475 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 // Added 5/2016. | 737 // Added 5/2016. |
736 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 738 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
737 | 739 |
738 // Added 7/2016. | 740 // Added 7/2016. |
739 DeleteWebRTCIdentityStoreDB(profile); | 741 DeleteWebRTCIdentityStoreDB(profile); |
740 profile_prefs->ClearPref(kNetworkPredictionEnabled); | 742 profile_prefs->ClearPref(kNetworkPredictionEnabled); |
741 profile_prefs->ClearPref(kDisableSpdy); | 743 profile_prefs->ClearPref(kDisableSpdy); |
742 } | 744 } |
743 | 745 |
744 } // namespace chrome | 746 } // namespace chrome |
OLD | NEW |