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

Unified Diff: chrome/browser/extensions/app_notify_channel_setup.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/app_notify_channel_setup.h
diff --git a/chrome/browser/extensions/app_notify_channel_setup.h b/chrome/browser/extensions/app_notify_channel_setup.h
index a43e08b3cf3a0ac22c6ecded36a9c9b77f575882..4de0d7a4f0573b58b377aa20efb49a38c70c59b0 100644
--- a/chrome/browser/extensions/app_notify_channel_setup.h
+++ b/chrome/browser/extensions/app_notify_channel_setup.h
@@ -58,6 +58,9 @@ class AppNotifyChannelSetup
const std::string& channel_id,
const std::string& error,
const AppNotifyChannelSetup* setup) = 0;
+
+ protected:
+ virtual ~Delegate() { }
};
// For tests, we allow intercepting the request to setup the channel and
@@ -68,6 +71,9 @@ class AppNotifyChannelSetup
const AppNotifyChannelSetup* setup,
std::string* result_channel_id,
AppNotifyChannelSetup::SetupError* result_error) = 0;
+
+ protected:
+ virtual ~InterceptorForTests() { }
};
static void SetInterceptorForTests(InterceptorForTests* interceptor);

Powered by Google App Engine
This is Rietveld 408576698