Index: chrome/browser/prefs/overlay_user_pref_store.h |
diff --git a/chrome/browser/prefs/overlay_user_pref_store.h b/chrome/browser/prefs/overlay_user_pref_store.h |
index 105dc672ef5654e11bb9d5ba2d723b81e8b15219..0dcc38783209f1ca1440588588b97db98dc4bcb5 100644 |
--- a/chrome/browser/prefs/overlay_user_pref_store.h |
+++ b/chrome/browser/prefs/overlay_user_pref_store.h |
@@ -23,7 +23,6 @@ class OverlayUserPrefStore : public PersistentPrefStore, |
public PrefStore::Observer { |
public: |
explicit OverlayUserPrefStore(PersistentPrefStore* underlay); |
- virtual ~OverlayUserPrefStore(); |
// Returns true if a value has been set for the |key| in this |
// OverlayUserPrefStore, i.e. if it potentially overrides a value |
@@ -53,17 +52,20 @@ class OverlayUserPrefStore : public PersistentPrefStore, |
virtual void CommitPendingWrite() OVERRIDE; |
virtual void ReportValueChanged(const std::string& key) OVERRIDE; |
+ // Methods of PrefStore::Observer. |
+ virtual void OnPrefValueChanged(const std::string& key) OVERRIDE; |
+ virtual void OnInitializationCompleted(bool succeeded) OVERRIDE; |
+ |
void RegisterOverlayPref(const std::string& key); |
void RegisterOverlayPref(const std::string& overlay_key, |
const std::string& underlay_key); |
+ protected: |
+ virtual ~OverlayUserPrefStore(); |
+ |
private: |
typedef std::map<std::string, std::string> NamesMap; |
- // Methods of PrefStore::Observer. |
- virtual void OnPrefValueChanged(const std::string& key) OVERRIDE; |
- virtual void OnInitializationCompleted(bool succeeded) OVERRIDE; |
- |
const std::string& GetOverlayKey(const std::string& underlay_key) const; |
const std::string& GetUnderlayKey(const std::string& overlay_key) const; |