Index: chrome/common/pref_store.h |
diff --git a/chrome/common/pref_store.h b/chrome/common/pref_store.h |
index 67fa4c9cf0cb674df02eb7955073637bcd6fdaff..1b63eb203ca9825b265dbf89900a7abcf81ec5be 100644 |
--- a/chrome/common/pref_store.h |
+++ b/chrome/common/pref_store.h |
@@ -27,12 +27,13 @@ class PrefStore : public base::RefCounted<PrefStore> { |
// Observer interface for monitoring PrefStore. |
class Observer { |
public: |
- virtual ~Observer() {} |
- |
// Called when the value for the given |key| in the store changes. |
virtual void OnPrefValueChanged(const std::string& key) = 0; |
// Notification about the PrefStore being fully initialized. |
virtual void OnInitializationCompleted(bool succeeded) = 0; |
+ |
+ protected: |
+ virtual ~Observer() {} |
}; |
// Return values for GetValue(). |