diff options
author | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-25 16:38:31 +0000 |
---|---|---|
committer | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-25 16:38:31 +0000 |
commit | 68bf41ae4642cc0b1ad6f9d5c4050acaf3d7d1d5 (patch) | |
tree | 42a4b753dd5db63399fc7a55f021c0bf6adfb1ba /chrome/browser/prefs/pref_value_store.h | |
parent | e6eddfdb8f1a9688145e5efba334d484c738a1c6 (diff) | |
download | chromium_src-68bf41ae4642cc0b1ad6f9d5c4050acaf3d7d1d5.zip chromium_src-68bf41ae4642cc0b1ad6f9d5c4050acaf3d7d1d5.tar.gz chromium_src-68bf41ae4642cc0b1ad6f9d5c4050acaf3d7d1d5.tar.bz2 |
Let PrefStore::GetValue return a const Value* instead of Value* and add PersistentPrefStore::GetMutableValue
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6713099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs/pref_value_store.h')
-rw-r--r-- | chrome/browser/prefs/pref_value_store.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/prefs/pref_value_store.h b/chrome/browser/prefs/pref_value_store.h index bddbdaa..e477d1d 100644 --- a/chrome/browser/prefs/pref_value_store.h +++ b/chrome/browser/prefs/pref_value_store.h @@ -78,7 +78,7 @@ class PrefValueStore { // Preference::GetValue() instead of calling this method directly. bool GetValue(const std::string& name, Value::ValueType type, - Value** out_value) const; + const Value** out_value) const; // These methods return true if a preference with the given name is in the // indicated pref store, even if that value is currently being overridden by @@ -195,7 +195,7 @@ class PrefValueStore { // Get a value from the specified store type. bool GetValueFromStore(const char* name, PrefStoreType store, - Value** out_value) const; + const Value** out_value) const; // Called upon changes in individual pref stores in order to determine whether // the user-visible pref value has changed. Triggers the change notification |