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

Unified Diff: chrome/browser/extensions/api/autotest_private/autotest_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/autotest_private/autotest_private_api.h
diff --git a/chrome/browser/extensions/api/autotest_private/autotest_private_api.h b/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
index c70a63f3eb4ed0869a9339ae48d12dc6676995ed..37a5c358b23e627a89ac752220a79a8750d2e90f 100644
--- a/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
+++ b/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
@@ -18,8 +18,8 @@ class AutotestPrivateLogoutFunction : public ChromeSyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("autotestPrivate.logout", AUTOTESTPRIVATE_LOGOUT)
private:
- virtual ~AutotestPrivateLogoutFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateLogoutFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateRestartFunction : public ChromeSyncExtensionFunction {
@@ -27,8 +27,8 @@ class AutotestPrivateRestartFunction : public ChromeSyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("autotestPrivate.restart", AUTOTESTPRIVATE_RESTART)
private:
- virtual ~AutotestPrivateRestartFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateRestartFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateShutdownFunction : public ChromeSyncExtensionFunction {
@@ -37,8 +37,8 @@ class AutotestPrivateShutdownFunction : public ChromeSyncExtensionFunction {
AUTOTESTPRIVATE_SHUTDOWN)
private:
- virtual ~AutotestPrivateShutdownFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateShutdownFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateLoginStatusFunction : public ChromeSyncExtensionFunction {
@@ -47,8 +47,8 @@ class AutotestPrivateLoginStatusFunction : public ChromeSyncExtensionFunction {
AUTOTESTPRIVATE_LOGINSTATUS)
private:
- virtual ~AutotestPrivateLoginStatusFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateLoginStatusFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateLockScreenFunction : public ChromeSyncExtensionFunction {
@@ -57,8 +57,8 @@ class AutotestPrivateLockScreenFunction : public ChromeSyncExtensionFunction {
AUTOTESTPRIVATE_LOCKSCREEN)
private:
- virtual ~AutotestPrivateLockScreenFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateLockScreenFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateGetExtensionsInfoFunction
@@ -68,8 +68,8 @@ class AutotestPrivateGetExtensionsInfoFunction
AUTOTESTPRIVATE_GETEXTENSIONSINFO)
private:
- virtual ~AutotestPrivateGetExtensionsInfoFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateGetExtensionsInfoFunction() override {}
+ bool RunSync() override;
};
class AutotestPrivateSimulateAsanMemoryBugFunction
@@ -79,8 +79,8 @@ class AutotestPrivateSimulateAsanMemoryBugFunction
AUTOTESTPRIVATE_SIMULATEASANMEMORYBUG)
private:
- virtual ~AutotestPrivateSimulateAsanMemoryBugFunction() {}
- virtual bool RunSync() override;
+ ~AutotestPrivateSimulateAsanMemoryBugFunction() override {}
+ bool RunSync() override;
};
// Don't kill the browser when we're in a browser test.
@@ -100,7 +100,7 @@ class AutotestPrivateAPI : public BrowserContextKeyedAPI {
friend class BrowserContextKeyedAPIFactory<AutotestPrivateAPI>;
AutotestPrivateAPI();
- virtual ~AutotestPrivateAPI();
+ ~AutotestPrivateAPI() override;
// BrowserContextKeyedAPI implementation.
static const char* service_name() { return "AutotestPrivateAPI"; }

Powered by Google App Engine
This is Rietveld 408576698