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

Unified Diff: chrome/browser/process_singleton_browsertest.cc

Issue 816403003: 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/process_info_snapshot_mac.cc ('k') | chrome/browser/process_singleton_modal_dialog_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_browsertest.cc
diff --git a/chrome/browser/process_singleton_browsertest.cc b/chrome/browser/process_singleton_browsertest.cc
index 16262f75833a0a07e0fb114a5c64ed35fb8bfb0a..bd85335970924aaa403c1be902bcd68a94fd524d 100644
--- a/chrome/browser/process_singleton_browsertest.cc
+++ b/chrome/browser/process_singleton_browsertest.cc
@@ -61,7 +61,7 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> {
// UITest::LaunchBrowserHelper somehow?
base::FilePath program;
ASSERT_TRUE(PathService::Get(base::FILE_EXE, &program));
- CommandLine command_line(program);
+ base::CommandLine command_line(program);
command_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_);
if (first_run)
@@ -71,10 +71,11 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> {
// Add the normal test-mode switches, except for the ones we're adding
// ourselves.
- CommandLine standard_switches(CommandLine::NO_PROGRAM);
+ base::CommandLine standard_switches(base::CommandLine::NO_PROGRAM);
test_launcher_utils::PrepareBrowserCommandLineForTests(&standard_switches);
- const CommandLine::SwitchMap& switch_map = standard_switches.GetSwitches();
- for (CommandLine::SwitchMap::const_iterator i = switch_map.begin();
+ const base::CommandLine::SwitchMap& switch_map =
+ standard_switches.GetSwitches();
+ for (base::CommandLine::SwitchMap::const_iterator i = switch_map.begin();
i != switch_map.end(); ++i) {
const std::string& switch_name = i->first;
if (switch_name == switches::kUserDataDir ||
« no previous file with comments | « chrome/browser/process_info_snapshot_mac.cc ('k') | chrome/browser/process_singleton_modal_dialog_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698