summaryrefslogtreecommitdiffstats
path: root/base/prefs/pref_observer.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 09:24:56 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 09:24:56 +0000
commit0672752c1c1e433b2d1bc4e4f487f528aec25f5c (patch)
tree456076af3b7794f085aa9f444b1808f115116307 /base/prefs/pref_observer.h
parentf9644ccd38835611b68adfaab7071366a3aaf208 (diff)
downloadchromium_src-0672752c1c1e433b2d1bc4e4f487f528aec25f5c.zip
chromium_src-0672752c1c1e433b2d1bc4e4f487f528aec25f5c.tar.gz
chromium_src-0672752c1c1e433b2d1bc4e4f487f528aec25f5c.tar.bz2
GTTF: Add missing virtual destructors.
R=jar TBR=darin,satorux,fischman,jamesr,sky BUG=45135 Review URL: https://codereview.chromium.org/12086018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/prefs/pref_observer.h')
-rw-r--r--base/prefs/pref_observer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h
index 93a0454..3f86f52 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;
};