diff options
author | Daniel Cheng <dcheng@chromium.org> | 2014-10-21 02:51:29 -0700 |
---|---|---|
committer | Daniel Cheng <dcheng@chromium.org> | 2014-10-21 09:52:23 +0000 |
commit | a542fca3ccd35033c2065fa3e7bed1247043b377 (patch) | |
tree | be0ed153cb1645a1bf02eb1ad1bb9b428cd4c722 /chrome/browser/app_controller_mac_browsertest.mm | |
parent | 716bedf160f4c4c1945cab54c3f490424a0eb779 (diff) | |
download | chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.zip chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.tar.gz chromium_src-a542fca3ccd35033c2065fa3e7bed1247043b377.tar.bz2 |
Standardize usage of virtual/override/final in chrome/browser/
BUG=417463
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/648653003
Cr-Commit-Position: refs/heads/master@{#300440}
Diffstat (limited to 'chrome/browser/app_controller_mac_browsertest.mm')
-rw-r--r-- | chrome/browser/app_controller_mac_browsertest.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm index 14117eb..f8442c7 100644 --- a/chrome/browser/app_controller_mac_browsertest.mm +++ b/chrome/browser/app_controller_mac_browsertest.mm @@ -89,7 +89,7 @@ class AppControllerPlatformAppBrowserTest chrome::GetActiveDesktop())) { } - virtual void SetUpCommandLine(CommandLine* command_line) override { + void SetUpCommandLine(CommandLine* command_line) override { PlatformAppBrowserTest::SetUpCommandLine(command_line); command_line->AppendSwitchASCII(switches::kAppId, "1234"); @@ -145,7 +145,7 @@ class AppControllerWebAppBrowserTest : public InProcessBrowserTest { chrome::GetActiveDesktop())) { } - virtual void SetUpCommandLine(CommandLine* command_line) override { + void SetUpCommandLine(CommandLine* command_line) override { command_line->AppendSwitchASCII(switches::kApp, GetAppURL()); } @@ -206,7 +206,7 @@ class AppControllerNewProfileManagementBrowserTest chrome::GetActiveDesktop())) { } - virtual void SetUpCommandLine(CommandLine* command_line) override { + void SetUpCommandLine(CommandLine* command_line) override { switches::EnableNewProfileManagementForTesting(command_line); } @@ -283,7 +283,7 @@ class AppControllerOpenShortcutBrowserTest : public InProcessBrowserTest { AppControllerOpenShortcutBrowserTest() { } - virtual void SetUpInProcessBrowserTestFixture() override { + void SetUpInProcessBrowserTestFixture() override { // In order to mimic opening shortcut during browser startup, we need to // send the event before -applicationDidFinishLaunching is called, but // after AppController is loaded. @@ -315,7 +315,7 @@ class AppControllerOpenShortcutBrowserTest : public InProcessBrowserTest { g_open_shortcut_url = embedded_test_server()->GetURL("/simple.html"); } - virtual void SetUpCommandLine(CommandLine* command_line) override { + void SetUpCommandLine(CommandLine* command_line) override { // If the arg is empty, PrepareTestCommandLine() after this function will // append about:blank as default url. command_line->AppendArg(chrome::kChromeUINewTabURL); |