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

Unified Diff: chrome/browser/extensions/extension_omnibox_api.h

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementations Created 8 years, 8 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/extension_omnibox_api.h
diff --git a/chrome/browser/extensions/extension_omnibox_api.h b/chrome/browser/extensions/extension_omnibox_api.h
index 6fa8e55c5886556074768f22d5cc83dcf25a6d1c..a2bc5668ddab4d8d2d964597a8386249b3344ed5 100644
--- a/chrome/browser/extensions/extension_omnibox_api.h
+++ b/chrome/browser/extensions/extension_omnibox_api.h
@@ -50,14 +50,24 @@ class ExtensionOmniboxEventRouter {
class OmniboxSendSuggestionsFunction : public SyncExtensionFunction {
public:
- virtual bool RunImpl() OVERRIDE;
DECLARE_EXTENSION_FUNCTION_NAME("omnibox.sendSuggestions");
+
+ protected:
+ virtual ~OmniboxSendSuggestionsFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
};
class OmniboxSetDefaultSuggestionFunction : public SyncExtensionFunction {
public:
- virtual bool RunImpl() OVERRIDE;
DECLARE_EXTENSION_FUNCTION_NAME("omnibox.setDefaultSuggestion");
+
+ protected:
+ virtual ~OmniboxSetDefaultSuggestionFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
};
struct ExtensionOmniboxSuggestion {

Powered by Google App Engine
This is Rietveld 408576698