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

Unified Diff: chrome/browser/ui/website_settings/permission_menu_model.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/ui/website_settings/permission_menu_model.h
diff --git a/chrome/browser/ui/website_settings/permission_menu_model.h b/chrome/browser/ui/website_settings/permission_menu_model.h
index 0abe7a26edf7f6c4712b9b63d58a5bf3e0fd951d..4c3ad67e6db90c1da4bf176ee93caffc782ea038 100644
--- a/chrome/browser/ui/website_settings/permission_menu_model.h
+++ b/chrome/browser/ui/website_settings/permission_menu_model.h
@@ -26,6 +26,9 @@ class PermissionMenuModel : public ui::SimpleMenuModel,
// Returns true if the command with the given |command_id| should be
// checked.
virtual bool IsCommandIdChecked(int command_id) = 0;
+
+ protected:
+ virtual ~Delegate() { }
};
PermissionMenuModel(Delegate* delegate,

Powered by Google App Engine
This is Rietveld 408576698