| Index: chrome/common/json_pref_store.h
|
| diff --git a/chrome/common/json_pref_store.h b/chrome/common/json_pref_store.h
|
| index b94030d806878bfedf8fa600ade4dae4f4175d28..1094a22633549cff5697e004cf9b9d1ffc97d4d7 100644
|
| --- a/chrome/common/json_pref_store.h
|
| +++ b/chrome/common/json_pref_store.h
|
| @@ -35,24 +35,25 @@ class JsonPrefStore : public PersistentPrefStore,
|
|
|
| // PrefStore overrides:
|
| 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 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 PrefReadError ReadPrefs();
|
| - virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate);
|
| - virtual bool WritePrefs();
|
| - virtual void ScheduleWritePrefs();
|
| - virtual void CommitPendingWrite();
|
| - virtual void ReportValueChanged(const std::string& key);
|
| + base::Value** result) 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 PrefReadError ReadPrefs() OVERRIDE;
|
| + virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate) OVERRIDE;
|
| + virtual bool WritePrefs() OVERRIDE;
|
| + virtual void ScheduleWritePrefs() OVERRIDE;
|
| + virtual void CommitPendingWrite() OVERRIDE;
|
| + virtual void ReportValueChanged(const std::string& key) OVERRIDE;
|
|
|
| // This method is called after JSON file has been read. Method takes
|
| // ownership of the |value| pointer. Note, this method is used with
|
| @@ -62,7 +63,7 @@ class JsonPrefStore : public PersistentPrefStore,
|
|
|
| private:
|
| // ImportantFileWriter::DataSerializer overrides:
|
| - virtual bool SerializeData(std::string* output);
|
| + virtual bool SerializeData(std::string* output) OVERRIDE;
|
|
|
| FilePath path_;
|
| scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy_;
|
|
|