diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 04:44:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 11:44:31 +0000 |
commit | e933b3eb38cf13b7b96141214fa266cf499459ff (patch) | |
tree | b51322928a2bb475e84a6630b1a11a652ecefefe /content/test/content_test_launcher.cc | |
parent | c072fff949cad2790f4cb731097c276897b37d0b (diff) | |
download | chromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.zip chromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.tar.gz chromium_src-e933b3eb38cf13b7b96141214fa266cf499459ff.tar.bz2 |
Standardize usage of virtual/override/final in content/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=avi@chromium.org
Review URL: https://codereview.chromium.org/671663002
Cr-Commit-Position: refs/heads/master@{#300461}
Diffstat (limited to 'content/test/content_test_launcher.cc')
-rw-r--r-- | content/test/content_test_launcher.cc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc index 6990fe9..e19db37 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(); } |