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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 2791903003: Pref service: have Mash and Chrome connect to the right pref stores (Closed)
Patch Set: ProfilePrefStoreManagerTest: explicit list stores to connect to Created 3 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 36801bd38147604a21b4a8222d4f0ce2dc7836dc..ceeacd8dcf205d8783e623ca736314e7275f6bad 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1069,7 +1069,7 @@ void ProfileImpl::RegisterInProcessServices(StaticServiceMap* services) {
if (features::PrefServiceEnabled()) {
content::ServiceInfo info;
info.factory = base::Bind(
- &prefs::CreatePrefService, std::set<PrefValueStore::PrefStoreType>(),
+ &prefs::CreatePrefService, chrome::ExpectedPrefStores(),
make_scoped_refptr(content::BrowserThread::GetBlockingPool()));
info.task_runner = content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::IO);
« no previous file with comments | « chrome/browser/prefs/profile_pref_store_manager_unittest.cc ('k') | services/preferences/pref_service_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698