Index: base/prefs/pref_service.h |
diff --git a/base/prefs/pref_service.h b/base/prefs/pref_service.h |
index d9b03c9388ec9c7540ade8c1a5ede1867c1eb8f1..29de4d2b5b4ca82dca93eff3eef7fc85945bf740 100644 |
--- a/base/prefs/pref_service.h |
+++ b/base/prefs/pref_service.h |
@@ -229,6 +229,10 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe { |
// registered preference. In that case, will never return NULL. |
const base::Value* GetDefaultPrefValue(const std::string& path) const; |
+ // Return the registration flags for the given pref. Returns a bitmask of |
+ // |PrefRegistrationFlags|. |
+ uint32 GetRegistrationFlags(const std::string& path) const; |
+ |
// Returns true if a value has been set for the specified path. |
// NOTE: this is NOT the same as FindPreference. In particular |
// FindPreference returns whether RegisterXXX has been invoked, where as |