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

Unified Diff: base/prefs/pref_observer.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 months 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
Index: base/prefs/pref_observer.h
diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h
index 93a0454bf3c6186143d214ce9440ec429d469682..099106de9dd5a76d7a17928f2a2d6bcf27641568 100644
--- a/base/prefs/pref_observer.h
+++ b/base/prefs/pref_observer.h
@@ -14,6 +14,9 @@ class PrefObserver {
public:
virtual void OnPreferenceChanged(PrefServiceBase* service,
const std::string& pref_name) = 0;
+
+ protected:
+ virtual ~PrefObserver() { }
};
#endif // BASE_PREFS_PREF_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698