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

Unified Diff: chrome/browser/extensions/activity_log.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: chrome/browser/extensions/activity_log.h
diff --git a/chrome/browser/extensions/activity_log.h b/chrome/browser/extensions/activity_log.h
index 27761a9c334f39de7d2c74c66943ab990bf053d8..85fcbc6ded7dcc2ab1281a261812fb0260a04eca 100644
--- a/chrome/browser/extensions/activity_log.h
+++ b/chrome/browser/extensions/activity_log.h
@@ -46,6 +46,9 @@ class ActivityLog : public ProfileKeyedService,
const Extension* extension,
Activity activity,
const std::string& message) = 0;
+
+ protected:
+ virtual ~Observer() { }
};
// ActivityLog is a singleton, so don't instantiate it with the constructor;

Powered by Google App Engine
This is Rietveld 408576698