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

Unified Diff: chrome/browser/extensions/system/system_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: 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/system/system_api.h
diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h
index 24fdfb2a737742c88b48851e07e236c8e9303403..5e26978d8aa8107d4d47752836e0c5b29a1b0560 100644
--- a/chrome/browser/extensions/system/system_api.h
+++ b/chrome/browser/extensions/system/system_api.h
@@ -14,17 +14,25 @@ namespace extensions {
class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction {
public:
+ DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
+
+ protected:
virtual ~GetIncognitoModeAvailabilityFunction() {}
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
};
// API function which returns the status of system update.
class GetUpdateStatusFunction : public SyncExtensionFunction {
public:
+ DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
+
+ protected:
virtual ~GetUpdateStatusFunction() {}
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
};
void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);
« no previous file with comments | « chrome/browser/extensions/settings/settings_api.h ('k') | chrome/browser/extensions/updater/safe_manifest_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698