Index: chrome/browser/prefs/pref_value_store.cc |
diff --git a/chrome/browser/prefs/pref_value_store.cc b/chrome/browser/prefs/pref_value_store.cc |
index bc759f84802476c5218c21cd14f52f9caffeb8ff..44e4f64ca6113448895a123ac5fa93dd25d20f5e 100644 |
--- a/chrome/browser/prefs/pref_value_store.cc |
+++ b/chrome/browser/prefs/pref_value_store.cc |
@@ -164,6 +164,11 @@ bool PrefValueStore::PrefValueFromUserStore(const char* name) const { |
return ControllingPrefStoreForPref(name) == USER_STORE; |
} |
+bool PrefValueStore::PrefValueFromRecommendedStore(const char* name) const { |
+ return ControllingPrefStoreForPref(name) == RECOMMENDED_PLATFORM_STORE || |
+ ControllingPrefStoreForPref(name) == RECOMMENDED_CLOUD_STORE; |
+} |
+ |
bool PrefValueStore::PrefValueFromDefaultStore(const char* name) const { |
return ControllingPrefStoreForPref(name) == DEFAULT_STORE; |
} |