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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager.cc

Issue 2772673002: mash: switch to the new pref service (Closed)
Patch Set: Address review comments 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
« no previous file with comments | « chrome/browser/prefs/forwarder_manifest.json ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/profile_pref_store_manager.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager.cc b/chrome/browser/prefs/profile_pref_store_manager.cc
index da2aaf6a47ae35c67d87ed0f312ddcecdf536cac..110ad1c1a604568a24746ab9e6bc9d488a607b58 100644
--- a/chrome/browser/prefs/profile_pref_store_manager.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager.cc
@@ -109,7 +109,7 @@ PersistentPrefStore* ProfilePrefStoreManager::CreateProfilePrefStore(
prefs::mojom::TrackedPreferenceValidationDelegate* validation_delegate,
service_manager::Connector* connector,
scoped_refptr<PrefRegistry> pref_registry) {
- if (base::FeatureList::IsEnabled(features::kPrefService)) {
+ if (features::PrefServiceEnabled()) {
ConfigurePrefService(on_reset_on_load, connector);
prefs::mojom::PrefStoreConnectorPtr pref_connector;
connector->BindInterface(prefs::mojom::kPrefStoreServiceName,
« no previous file with comments | « chrome/browser/prefs/forwarder_manifest.json ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698