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

Unified Diff: chrome/browser/app_controller_mac_browsertest.mm

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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 | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/app_mode/app_mode_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac_browsertest.mm
diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
index 603284ee07fa9259e9b901cd789296ea9f1f66a8..d72b6f91b193463d4833a76b50b6a520139a03c2 100644
--- a/chrome/browser/app_controller_mac_browsertest.mm
+++ b/chrome/browser/app_controller_mac_browsertest.mm
@@ -106,7 +106,7 @@ class AppControllerPlatformAppBrowserTest
chrome::GetActiveDesktop())) {
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
PlatformAppBrowserTest::SetUpCommandLine(command_line);
command_line->AppendSwitchASCII(switches::kAppId,
"1234");
@@ -162,7 +162,7 @@ class AppControllerWebAppBrowserTest : public InProcessBrowserTest {
chrome::GetActiveDesktop())) {
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
command_line->AppendSwitchASCII(switches::kApp, GetAppURL());
}
@@ -223,7 +223,7 @@ class AppControllerNewProfileManagementBrowserTest
chrome::GetActiveDesktop())) {
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
switches::EnableNewProfileManagementForTesting(command_line);
}
@@ -362,7 +362,7 @@ class AppControllerOpenShortcutBrowserTest : public InProcessBrowserTest {
g_open_shortcut_url = embedded_test_server()->GetURL("/simple.html");
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::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);
@@ -385,7 +385,7 @@ class AppControllerReplaceNTPBrowserTest : public InProcessBrowserTest {
ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::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);
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/app_mode/app_mode_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698