| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/doodle/doodle_service.h" | 77 #include "components/doodle/doodle_service.h" |
| 78 #include "components/flags_ui/pref_service_flags_storage.h" | 78 #include "components/flags_ui/pref_service_flags_storage.h" |
| 79 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 79 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 80 #include "components/metrics/metrics_service.h" | 80 #include "components/metrics/metrics_service.h" |
| 81 #include "components/network_time/network_time_tracker.h" | 81 #include "components/network_time/network_time_tracker.h" |
| 82 #include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h" | 82 #include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h" |
| 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/request_throttler.h" | 86 #include "components/ntp_snippets/remote/request_throttler.h" |
| 86 #include "components/ntp_snippets/remote/scheduling_remote_suggestions_provider.
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/policy/core/browser/browser_policy_connector.h" | 93 #include "components/policy/core/browser/browser_policy_connector.h" |
| 94 #include "components/policy/core/browser/url_blacklist_manager.h" | 94 #include "components/policy/core/browser/url_blacklist_manager.h" |
| 95 #include "components/policy/core/common/policy_statistics_collector.h" | 95 #include "components/policy/core/common/policy_statistics_collector.h" |
| 96 #include "components/pref_registry/pref_registry_syncable.h" | 96 #include "components/pref_registry/pref_registry_syncable.h" |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 481 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 482 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 482 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 483 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 483 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 484 NetHttpSessionParamsObserver::RegisterProfilePrefs(registry); | 484 NetHttpSessionParamsObserver::RegisterProfilePrefs(registry); |
| 485 NotifierStateTracker::RegisterProfilePrefs(registry); | 485 NotifierStateTracker::RegisterProfilePrefs(registry); |
| 486 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); | 486 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); |
| 487 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); | 487 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); |
| 488 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs( | 488 ntp_snippets::ForeignSessionsSuggestionsProvider::RegisterProfilePrefs( |
| 489 registry); | 489 registry); |
| 490 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry); | 490 ntp_snippets::RemoteSuggestionsProviderImpl::RegisterProfilePrefs(registry); |
| 491 ntp_snippets::RemoteSuggestionsSchedulerImpl::RegisterProfilePrefs(registry); |
| 491 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); | 492 ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
| 492 ntp_snippets::SchedulingRemoteSuggestionsProvider::RegisterProfilePrefs( | |
| 493 registry); | |
| 494 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); | 493 ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); |
| 495 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); | 494 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); |
| 496 password_bubble_experiment::RegisterPrefs(registry); | 495 password_bubble_experiment::RegisterPrefs(registry); |
| 497 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 496 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 498 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 497 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
| 499 PrefsTabHelper::RegisterProfilePrefs(registry); | 498 PrefsTabHelper::RegisterProfilePrefs(registry); |
| 500 Profile::RegisterProfilePrefs(registry); | 499 Profile::RegisterProfilePrefs(registry); |
| 501 ProfileImpl::RegisterProfilePrefs(registry); | 500 ProfileImpl::RegisterProfilePrefs(registry); |
| 502 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 501 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
| 503 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 502 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 if (distro_dict && | 782 if (distro_dict && |
| 784 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) { | 783 distro_dict->GetInteger(kDistroRlzPingDelay, &rlz_ping_delay)) { |
| 785 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay); | 784 profile_prefs->SetInteger(prefs::kRlzPingDelaySeconds, rlz_ping_delay); |
| 786 } | 785 } |
| 787 #endif // BUILDFLAG(ENABLE_RLZ) | 786 #endif // BUILDFLAG(ENABLE_RLZ) |
| 788 profile_prefs->ClearPref(kDistroDict); | 787 profile_prefs->ClearPref(kDistroDict); |
| 789 } | 788 } |
| 790 } | 789 } |
| 791 | 790 |
| 792 } // namespace chrome | 791 } // namespace chrome |
| OLD | NEW |