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

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

Issue 2738353002: Pref service: integrate PersistentPrefStoreImpl with PrefStoreManagerImpl. (Closed)
Patch Set: Created 3 years, 9 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 d170c637f19e509cb788a766f6de3e91adf42d9c..7e58befa635986dbc5b42a85f2275f5fe5e262a0 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1067,7 +1067,8 @@ void ProfileImpl::RegisterInProcessServices(StaticServiceMap* services) {
info.factory =
base::Bind([]() -> std::unique_ptr<service_manager::Service> {
return base::MakeUnique<prefs::PrefStoreManagerImpl>(
- prefs::PrefStoreManagerImpl::PrefStoreTypes());
+ prefs::PrefStoreManagerImpl::PrefStoreTypes(),
+ content::BrowserThread::GetBlockingPool());
});
services->insert(std::make_pair(prefs::mojom::kPrefStoreServiceName, info));
}
« no previous file with comments | « no previous file | services/preferences/BUILD.gn » ('j') | services/preferences/public/cpp/pref_store_manager_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698