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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #include "components/ntp_snippets/content_suggestions_service.h" | 83 #include "components/ntp_snippets/content_suggestions_service.h" |
84 #include "components/ntp_snippets/remote/remote_suggestions_provider_impl.h" | 84 #include "components/ntp_snippets/remote/remote_suggestions_provider_impl.h" |
85 #include "components/ntp_snippets/remote/remote_suggestions_scheduler_impl.h" | 85 #include "components/ntp_snippets/remote/remote_suggestions_scheduler_impl.h" |
86 #include "components/ntp_snippets/remote/request_throttler.h" | 86 #include "components/ntp_snippets/remote/request_throttler.h" |
87 #include "components/ntp_snippets/sessions/foreign_sessions_suggestions_provider
.h" | 87 #include "components/ntp_snippets/sessions/foreign_sessions_suggestions_provider
.h" |
88 #include "components/ntp_snippets/user_classifier.h" | 88 #include "components/ntp_snippets/user_classifier.h" |
89 #include "components/ntp_tiles/most_visited_sites.h" | 89 #include "components/ntp_tiles/most_visited_sites.h" |
90 #include "components/omnibox/browser/zero_suggest_provider.h" | 90 #include "components/omnibox/browser/zero_suggest_provider.h" |
91 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 91 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
92 #include "components/password_manager/core/browser/password_manager.h" | 92 #include "components/password_manager/core/browser/password_manager.h" |
| 93 #include "components/payments/core/payment_prefs.h" |
93 #include "components/policy/core/browser/browser_policy_connector.h" | 94 #include "components/policy/core/browser/browser_policy_connector.h" |
94 #include "components/policy/core/browser/url_blacklist_manager.h" | 95 #include "components/policy/core/browser/url_blacklist_manager.h" |
95 #include "components/policy/core/common/policy_statistics_collector.h" | 96 #include "components/policy/core/common/policy_statistics_collector.h" |
96 #include "components/pref_registry/pref_registry_syncable.h" | 97 #include "components/pref_registry/pref_registry_syncable.h" |
97 #include "components/prefs/pref_registry_simple.h" | 98 #include "components/prefs/pref_registry_simple.h" |
98 #include "components/prefs/pref_service.h" | 99 #include "components/prefs/pref_service.h" |
99 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 100 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
100 #include "components/rappor/rappor_service_impl.h" | 101 #include "components/rappor/rappor_service_impl.h" |
101 #include "components/search_engines/template_url_prepopulate_data.h" | 102 #include "components/search_engines/template_url_prepopulate_data.h" |
102 #include "components/ssl_config/ssl_config_service_manager.h" | 103 #include "components/ssl_config/ssl_config_service_manager.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); | 496 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); |
496 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs( | 497 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs( |
497 registry); | 498 registry); |
498 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry); | 499 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry); |
499 ntp_snippets::RemoteSuggestionsSchedulerImpl::RegisterProfilePrefs(registry); | 500 ntp_snippets::RemoteSuggestionsSchedulerImpl::RegisterProfilePrefs(registry); |
500 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); | 501 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
501 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); | 502 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); |
502 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); | 503 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); |
503 password_bubble_experiment::RegisterPrefs(registry); | 504 password_bubble_experiment::RegisterPrefs(registry); |
504 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 505 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 506 payments::RegisterProfilePrefs(registry); |
505 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 507 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
506 PrefsTabHelper::RegisterProfilePrefs(registry); | 508 PrefsTabHelper::RegisterProfilePrefs(registry); |
507 Profile::RegisterProfilePrefs(registry); | 509 Profile::RegisterProfilePrefs(registry); |
508 ProfileImpl::RegisterProfilePrefs(registry); | 510 ProfileImpl::RegisterProfilePrefs(registry); |
509 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 511 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
510 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 512 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
511 RegisterBrowserUserPrefs(registry); | 513 RegisterBrowserUserPrefs(registry); |
512 SessionStartupPref::RegisterProfilePrefs(registry); | 514 SessionStartupPref::RegisterProfilePrefs(registry); |
513 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); | 515 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); |
514 translate::LanguageModel::RegisterProfilePrefs(registry); | 516 translate::LanguageModel::RegisterProfilePrefs(registry); |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 // default values for all prefs locally. Since we already have the defaults it | 822 // default values for all prefs locally. Since we already have the defaults it |
821 // would be wasteful to request them from the service by connecting to the | 823 // would be wasteful to request them from the service by connecting to the |
822 // DEFAULT_STORE. | 824 // DEFAULT_STORE. |
823 // TODO(sammc): Once we have this distinction, connect to the default pref | 825 // TODO(sammc): Once we have this distinction, connect to the default pref |
824 // store here (by erasing it from |pref_stores|). | 826 // store here (by erasing it from |pref_stores|). |
825 pref_stores.erase(PrefValueStore::USER_STORE); | 827 pref_stores.erase(PrefValueStore::USER_STORE); |
826 return pref_stores; | 828 return pref_stores; |
827 } | 829 } |
828 | 830 |
829 } // namespace chrome | 831 } // namespace chrome |
OLD | NEW |