Chromium Code Reviews| Index: base/prefs/pref_service.h |
| diff --git a/base/prefs/pref_service.h b/base/prefs/pref_service.h |
| index d9cc8f5f1ce3fe65b792c4d0921476da3f083f48..786ca5ad7b0e95f5a747e6d82dfa5f8206310bdd 100644 |
| --- a/base/prefs/pref_service.h |
| +++ b/base/prefs/pref_service.h |
| @@ -220,6 +220,9 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe { |
| // the preference is not set in the user pref store, returns NULL. |
| const base::Value* GetUserPrefValue(const char* path) const; |
| + // Changes the default value for a preference. Takes ownership of |value|. |
|
Mattias Nissler (ping if slow)
2013/02/28 15:46:26
nit: add a line saying that this will fire pref ch
|
| + void SetDefaultPrefValue(const char* path, base::Value* value); |
| + |
| // Returns the default value of the given preference. |path| must point to a |
| // registered preference. In that case, will never return NULL. |
| const base::Value* GetDefaultPrefValue(const char* path) const; |