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

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: trybots 4 Created 7 years, 10 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
« no previous file with comments | « base/debug/trace_event_impl.h ('k') | base/prefs/public/pref_change_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_observer.h
diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h
index 93a0454bf3c6186143d214ce9440ec429d469682..3f86f52ad4df5dee4cd49d1c9c1c816de1b50c7d 100644
--- a/base/prefs/pref_observer.h
+++ b/base/prefs/pref_observer.h
@@ -12,6 +12,8 @@ class PrefServiceBase;
// TODO(joi): Switch to base::Callback and remove this.
class PrefObserver {
public:
+ virtual ~PrefObserver() { }
+
virtual void OnPreferenceChanged(PrefServiceBase* service,
const std::string& pref_name) = 0;
};
« no previous file with comments | « base/debug/trace_event_impl.h ('k') | base/prefs/public/pref_change_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698