diff options
Diffstat (limited to 'chrome/browser/prefs/testing_pref_store.h')
| -rw-r--r-- | chrome/browser/prefs/testing_pref_store.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/chrome/browser/prefs/testing_pref_store.h b/chrome/browser/prefs/testing_pref_store.h index 106b836..6770352 100644 --- a/chrome/browser/prefs/testing_pref_store.h +++ b/chrome/browser/prefs/testing_pref_store.h @@ -22,24 +22,25 @@ class TestingPrefStore : public PersistentPrefStore { // Overriden from PrefStore. virtual ReadResult GetValue(const std::string& key, - const base::Value** result) const; - virtual void AddObserver(PrefStore::Observer* observer); - virtual void RemoveObserver(PrefStore::Observer* observer); - virtual bool IsInitializationComplete() const; + const base::Value** result) const OVERRIDE; + virtual void AddObserver(PrefStore::Observer* observer) OVERRIDE; + virtual void RemoveObserver(PrefStore::Observer* observer) OVERRIDE; + virtual bool IsInitializationComplete() const OVERRIDE; // PersistentPrefStore overrides: virtual ReadResult GetMutableValue(const std::string& key, - base::Value** result); - virtual void ReportValueChanged(const std::string& key); - virtual void SetValue(const std::string& key, base::Value* value); - virtual void SetValueSilently(const std::string& key, base::Value* value); - virtual void RemoveValue(const std::string& key); - virtual bool ReadOnly() const; - virtual PersistentPrefStore::PrefReadError ReadPrefs(); - virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate); - virtual bool WritePrefs(); - virtual void ScheduleWritePrefs() {} - virtual void CommitPendingWrite() {} + base::Value** result) OVERRIDE; + virtual void ReportValueChanged(const std::string& key) OVERRIDE; + virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; + virtual void SetValueSilently(const std::string& key, + base::Value* value) OVERRIDE; + virtual void RemoveValue(const std::string& key) OVERRIDE; + virtual bool ReadOnly() const OVERRIDE; + virtual PersistentPrefStore::PrefReadError ReadPrefs() OVERRIDE; + virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate) OVERRIDE; + virtual bool WritePrefs() OVERRIDE; + virtual void ScheduleWritePrefs() OVERRIDE {} + virtual void CommitPendingWrite() OVERRIDE {} // Marks the store as having completed initialization. void SetInitializationCompleted(); |
