Index: chrome/common/pref_store.h |
diff --git a/chrome/common/pref_store.h b/chrome/common/pref_store.h |
index 808ffbd20d986e369b63148ee03c21bd1f5af304..2bac004e3835691c78db1ae04bc3b47924df9892 100644 |
--- a/chrome/common/pref_store.h |
+++ b/chrome/common/pref_store.h |
@@ -70,12 +70,12 @@ class PrefStore { |
virtual void RemoveObserver(ObserverInterface* observer) {} |
// Whether the store has completed all asynchronous initialization. |
- virtual bool IsInitializationComplete() { return true; } |
+ virtual bool IsInitializationComplete(); |
// Whether the store is in a pseudo-read-only mode where changes are not |
// actually persisted to disk. This happens in some cases when there are |
// read errors during startup. |
- virtual bool ReadOnly() const { return true; } |
+ virtual bool ReadOnly() const; |
// TODO(danno): PrefValueStore shouldn't allow direct access to the |
// DictionaryValue. Instead, it should have getters that return a |
@@ -85,7 +85,7 @@ class PrefStore { |
virtual PrefReadError ReadPrefs() = 0; |
- virtual bool WritePrefs() { return true; } |
+ virtual bool WritePrefs(); |
virtual void ScheduleWritePrefs() { } |