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

Unified Diff: apps/load_and_launch_browsertest.cc

Issue 667723003: Prefix CommandLine usage with base namespace (Part 3: apps/) (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 | « apps/launcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/load_and_launch_browsertest.cc
diff --git a/apps/load_and_launch_browsertest.cc b/apps/load_and_launch_browsertest.cc
index f3573b8122e86aa737c46805ad7533a905c1f149..92e95763b59b31e191625ce9118db0d91c4fab31 100644
--- a/apps/load_and_launch_browsertest.cc
+++ b/apps/load_and_launch_browsertest.cc
@@ -34,8 +34,8 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
MAYBE_LoadAndLaunchAppChromeRunning) {
ExtensionTestMessageListener launched_listener("Launched", false);
- const CommandLine& cmdline = *CommandLine::ForCurrentProcess();
- CommandLine new_cmdline(cmdline.GetProgram());
+ const base::CommandLine& cmdline = *base::CommandLine::ForCurrentProcess();
+ base::CommandLine new_cmdline(cmdline.GetProgram());
const char* kSwitchNames[] = {
switches::kUserDataDir,
@@ -71,8 +71,8 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
MAYBE_LoadAndLaunchAppWithFile) {
ExtensionTestMessageListener launched_listener("Launched", false);
- const CommandLine& cmdline = *CommandLine::ForCurrentProcess();
- CommandLine new_cmdline(cmdline.GetProgram());
+ const base::CommandLine& cmdline = *base::CommandLine::ForCurrentProcess();
+ base::CommandLine new_cmdline(cmdline.GetProgram());
const char* kSwitchNames[] = {
switches::kUserDataDir,
@@ -109,7 +109,7 @@ class PlatformAppLoadAndLaunchBrowserTest : public PlatformAppBrowserTest {
protected:
PlatformAppLoadAndLaunchBrowserTest() {}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
PlatformAppBrowserTest::SetUpCommandLine(command_line);
app_path_ = test_data_dir_
.AppendASCII("platform_apps")
« no previous file with comments | « apps/launcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698