| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 #include "components/certificate_transparency/ct_policy_manager.h" | 73 #include "components/certificate_transparency/ct_policy_manager.h" |
| 74 #include "components/content_settings/core/browser/host_content_settings_map.h" | 74 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 75 #include "components/dom_distiller/core/distilled_page_prefs.h" | 75 #include "components/dom_distiller/core/distilled_page_prefs.h" |
| 76 #include "components/flags_ui/pref_service_flags_storage.h" | 76 #include "components/flags_ui/pref_service_flags_storage.h" |
| 77 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 77 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 78 #include "components/metrics/metrics_service.h" | 78 #include "components/metrics/metrics_service.h" |
| 79 #include "components/network_time/network_time_tracker.h" | 79 #include "components/network_time/network_time_tracker.h" |
| 80 #include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h" | 80 #include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.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_throttler.h" | 82 #include "components/ntp_snippets/request_throttler.h" |
| 83 #include "components/ntp_snippets/user_classifier.h" |
| 83 #include "components/omnibox/browser/zero_suggest_provider.h" | 84 #include "components/omnibox/browser/zero_suggest_provider.h" |
| 84 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 85 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 85 #include "components/password_manager/core/browser/password_manager.h" | 86 #include "components/password_manager/core/browser/password_manager.h" |
| 86 #include "components/policy/core/browser/browser_policy_connector.h" | 87 #include "components/policy/core/browser/browser_policy_connector.h" |
| 87 #include "components/policy/core/browser/url_blacklist_manager.h" | 88 #include "components/policy/core/browser/url_blacklist_manager.h" |
| 88 #include "components/policy/core/common/policy_statistics_collector.h" | 89 #include "components/policy/core/common/policy_statistics_collector.h" |
| 89 #include "components/pref_registry/pref_registry_syncable.h" | 90 #include "components/pref_registry/pref_registry_syncable.h" |
| 90 #include "components/prefs/pref_registry_simple.h" | 91 #include "components/prefs/pref_registry_simple.h" |
| 91 #include "components/prefs/pref_service.h" | 92 #include "components/prefs/pref_service.h" |
| 92 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 93 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 HostContentSettingsMap::RegisterProfilePrefs(registry); | 469 HostContentSettingsMap::RegisterProfilePrefs(registry); |
| 469 IncognitoModePrefs::RegisterProfilePrefs(registry); | 470 IncognitoModePrefs::RegisterProfilePrefs(registry); |
| 470 InstantUI::RegisterProfilePrefs(registry); | 471 InstantUI::RegisterProfilePrefs(registry); |
| 471 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 472 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
| 472 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 473 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 473 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 474 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 474 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 475 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 475 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); | 476 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); |
| 476 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); | 477 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
| 477 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); | 478 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
| 479 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); |
| 478 password_bubble_experiment::RegisterPrefs(registry); | 480 password_bubble_experiment::RegisterPrefs(registry); |
| 479 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 481 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 480 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 482 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
| 481 PrefsTabHelper::RegisterProfilePrefs(registry); | 483 PrefsTabHelper::RegisterProfilePrefs(registry); |
| 482 Profile::RegisterProfilePrefs(registry); | 484 Profile::RegisterProfilePrefs(registry); |
| 483 ProfileImpl::RegisterProfilePrefs(registry); | 485 ProfileImpl::RegisterProfilePrefs(registry); |
| 484 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 486 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
| 485 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 487 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
| 486 RegisterBrowserUserPrefs(registry); | 488 RegisterBrowserUserPrefs(registry); |
| 487 SessionStartupPref::RegisterProfilePrefs(registry); | 489 SessionStartupPref::RegisterProfilePrefs(registry); |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 | 759 |
| 758 // Added 8/2016. | 760 // Added 8/2016. |
| 759 profile_prefs->ClearPref(kStaticEncodings); | 761 profile_prefs->ClearPref(kStaticEncodings); |
| 760 profile_prefs->ClearPref(kRecentlySelectedEncoding); | 762 profile_prefs->ClearPref(kRecentlySelectedEncoding); |
| 761 | 763 |
| 762 // Added 9/2016. | 764 // Added 9/2016. |
| 763 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); | 765 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); |
| 764 } | 766 } |
| 765 | 767 |
| 766 } // namespace chrome | 768 } // namespace chrome |
| OLD | NEW |