Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: chrome/common/json_pref_store.h

Issue 8551009: Add OVERRIDE to chrome/common/ and nacl/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension_localization_peer.h ('k') | chrome/common/metrics_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/common/extensions/extension_localization_peer.h ('k') | chrome/common/metrics_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698