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

Unified Diff: chrome/browser/prefs/testing_pref_store.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (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/browser/prefs/pref_value_store.h ('k') | chrome/browser/prefs/value_map_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/testing_pref_store.h
diff --git a/chrome/browser/prefs/testing_pref_store.h b/chrome/browser/prefs/testing_pref_store.h
index 106b83693a74252097b4a2ef35bf2cf58ec9acfb..677035272140d617a82bcace08b509fc861e2ed7 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();
« no previous file with comments | « chrome/browser/prefs/pref_value_store.h ('k') | chrome/browser/prefs/value_map_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698