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

Unified Diff: chrome/browser/extensions/api/system_private/system_private_api.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/api/system_private/system_private_api.h
diff --git a/chrome/browser/extensions/api/system_private/system_private_api.h b/chrome/browser/extensions/api/system_private/system_private_api.h
index bebd362f774e94dda35ef2c84309d3de9701d3f9..30d230691259030bb595c55e77c1473331e27daf 100644
--- a/chrome/browser/extensions/api/system_private/system_private_api.h
+++ b/chrome/browser/extensions/api/system_private/system_private_api.h
@@ -19,10 +19,10 @@ class SystemPrivateGetIncognitoModeAvailabilityFunction
SYSTEMPRIVATE_GETINCOGNITOMODEAVAILABILITY)
protected:
- virtual ~SystemPrivateGetIncognitoModeAvailabilityFunction() {}
+ ~SystemPrivateGetIncognitoModeAvailabilityFunction() override {}
// ExtensionFunction:
- virtual bool RunSync() override;
+ bool RunSync() override;
};
// API function which returns the status of system update.
@@ -33,10 +33,10 @@ class SystemPrivateGetUpdateStatusFunction
SYSTEMPRIVATE_GETUPDATESTATUS)
protected:
- virtual ~SystemPrivateGetUpdateStatusFunction() {}
+ ~SystemPrivateGetUpdateStatusFunction() override {}
// ExtensionFunction:
- virtual bool RunSync() override;
+ bool RunSync() override;
};
// API function which returns the Google API key.
@@ -45,10 +45,10 @@ class SystemPrivateGetApiKeyFunction : public SyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("systemPrivate.getApiKey", SYSTEMPRIVATE_GETAPIKEY)
protected:
- virtual ~SystemPrivateGetApiKeyFunction() {}
+ ~SystemPrivateGetApiKeyFunction() override {}
// ExtensionFunction:
- virtual bool RunSync() override;
+ bool RunSync() override;
};
// Dispatches systemPrivate.onBrightnessChanged event for extensions.

Powered by Google App Engine
This is Rietveld 408576698