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

Unified Diff: content/test/content_test_launcher.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
« no previous file with comments | « content/test/content_browser_test_test.cc ('k') | content/test/content_test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_test_launcher.cc
diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc
index 6990fe901a790ba521ba20bffc10b2a7c201f6a8..e19db37c1cbbcddb7e49ff4b3b4efe0d13a93407 100644
--- a/content/test/content_test_launcher.cc
+++ b/content/test/content_test_launcher.cc
@@ -45,12 +45,10 @@ class ContentBrowserTestSuite : public ContentTestSuiteBase {
ContentBrowserTestSuite(int argc, char** argv)
: ContentTestSuiteBase(argc, argv) {
}
- virtual ~ContentBrowserTestSuite() {
- }
+ ~ContentBrowserTestSuite() override {}
protected:
- virtual void Initialize() override {
-
+ void Initialize() override {
#if defined(OS_ANDROID)
base::i18n::AllowMultipleInitializeCallsForTesting();
base::i18n::InitializeICU();
@@ -91,14 +89,15 @@ class ContentBrowserTestSuite : public ContentTestSuiteBase {
class ContentTestLauncherDelegate : public TestLauncherDelegate {
public:
ContentTestLauncherDelegate() {}
- virtual ~ContentTestLauncherDelegate() {}
+ ~ContentTestLauncherDelegate() override {}
- virtual int RunTestSuite(int argc, char** argv) override {
+ int RunTestSuite(int argc, char** argv) override {
return ContentBrowserTestSuite(argc, argv).Run();
}
- virtual bool AdjustChildProcessCommandLine(
- CommandLine* command_line, const base::FilePath& temp_data_dir) override {
+ bool AdjustChildProcessCommandLine(
+ CommandLine* command_line,
+ const base::FilePath& temp_data_dir) override {
command_line->AppendSwitchPath(switches::kContentShellDataPath,
temp_data_dir);
command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream);
@@ -107,7 +106,7 @@ class ContentTestLauncherDelegate : public TestLauncherDelegate {
}
protected:
- virtual ContentMainDelegate* CreateContentMainDelegate() override {
+ ContentMainDelegate* CreateContentMainDelegate() override {
return new ShellMainDelegate();
}
« no previous file with comments | « content/test/content_browser_test_test.cc ('k') | content/test/content_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698