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

Unified Diff: chrome/browser/extensions/extension_module.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: Compile fix 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_module.h
diff --git a/chrome/browser/extensions/extension_module.h b/chrome/browser/extensions/extension_module.h
index b7b85512d1cc31a38d5419a5f5db8c85f63397a4..3dfd4e888d06364635054462896d8a682c34ce3d 100644
--- a/chrome/browser/extensions/extension_module.h
+++ b/chrome/browser/extensions/extension_module.h
@@ -11,24 +11,39 @@
class ExtensionPrefs;
class SetUpdateUrlDataFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData");
+
protected:
+ virtual ~SetUpdateUrlDataFunction() {}
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData");
private:
ExtensionPrefs* extension_prefs();
};
class IsAllowedIncognitoAccessFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedIncognitoAccess");
+
protected:
+ virtual ~IsAllowedIncognitoAccessFunction() {}
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedIncognitoAccess");
};
class IsAllowedFileSchemeAccessFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
+
protected:
+ virtual ~IsAllowedFileSchemeAccessFunction() {}
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
« no previous file with comments | « chrome/browser/extensions/extension_metrics_module.h ('k') | chrome/browser/extensions/extension_omnibox_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698