Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: ios/chrome/browser/prefs/browser_prefs.mm

Issue 2570783003: [Popular Sites] Split PopularSites interface and PopularSitesImpl (Closed)
Patch Set: Rebased and minor naming change. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/ntp_tiles/ios_popular_sites_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/prefs/browser_prefs.h" 5 #include "ios/chrome/browser/prefs/browser_prefs.h"
6 6
7 #include "components/autofill/core/browser/autofill_manager.h" 7 #include "components/autofill/core/browser/autofill_manager.h"
8 #include "components/browsing_data/core/pref_names.h" 8 #include "components/browsing_data/core/pref_names.h"
9 #include "components/content_settings/core/browser/host_content_settings_map.h" 9 #include "components/content_settings/core/browser/host_content_settings_map.h"
10 #include "components/dom_distiller/core/distilled_page_prefs.h" 10 #include "components/dom_distiller/core/distilled_page_prefs.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 autofill::AutofillManager::RegisterProfilePrefs(registry); 86 autofill::AutofillManager::RegisterProfilePrefs(registry);
87 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); 87 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry);
88 FirstRun::RegisterProfilePrefs(registry); 88 FirstRun::RegisterProfilePrefs(registry);
89 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry); 89 gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry);
90 HostContentSettingsMap::RegisterProfilePrefs(registry); 90 HostContentSettingsMap::RegisterProfilePrefs(registry);
91 HttpServerPropertiesManagerFactory::RegisterProfilePrefs(registry); 91 HttpServerPropertiesManagerFactory::RegisterProfilePrefs(registry);
92 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); 92 ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry);
93 ntp_snippets::RemoteSuggestionsProvider::RegisterProfilePrefs(registry); 93 ntp_snippets::RemoteSuggestionsProvider::RegisterProfilePrefs(registry);
94 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry); 94 ntp_snippets::ContentSuggestionsService::RegisterProfilePrefs(registry);
95 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); 95 ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry);
96 ntp_tiles::PopularSites::RegisterProfilePrefs(registry); 96 ntp_tiles::PopularSitesImpl::RegisterProfilePrefs(registry);
97 ios::NotificationPromo::RegisterProfilePrefs(registry); 97 ios::NotificationPromo::RegisterProfilePrefs(registry);
98 password_manager::PasswordManager::RegisterProfilePrefs(registry); 98 password_manager::PasswordManager::RegisterProfilePrefs(registry);
99 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 99 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
100 syncer::SyncPrefs::RegisterProfilePrefs(registry); 100 syncer::SyncPrefs::RegisterProfilePrefs(registry);
101 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); 101 TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
102 translate::TranslatePrefs::RegisterProfilePrefs(registry); 102 translate::TranslatePrefs::RegisterProfilePrefs(registry);
103 variations::VariationsService::RegisterProfilePrefs(registry); 103 variations::VariationsService::RegisterProfilePrefs(registry);
104 ZeroSuggestProvider::RegisterProfilePrefs(registry); 104 ZeroSuggestProvider::RegisterProfilePrefs(registry);
105 RegisterVoiceSearchBrowserStatePrefs(registry); 105 RegisterVoiceSearchBrowserStatePrefs(registry);
106 106
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 // This method should be periodically pruned of year+ old migrations. 149 // This method should be periodically pruned of year+ old migrations.
150 void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) { 150 void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) {
151 // Added 07/2014. 151 // Added 07/2014.
152 translate::TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages); 152 translate::TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages);
153 153
154 // Added 08/2015. 154 // Added 08/2015.
155 prefs->ClearPref(::prefs::kSigninSharedAuthenticationUserId); 155 prefs->ClearPref(::prefs::kSigninSharedAuthenticationUserId);
156 } 156 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ntp_tiles/ios_popular_sites_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698