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

Unified Diff: win8/delegate_execute/command_execute_impl.cc

Issue 819223002: 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 | « ui/wm/core/window_animations.cc ('k') | win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/command_execute_impl.cc
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc
index e027078ed0900a1e1f8d95b199e8902a569a5c67..d50037dffc25090c6fd6ce4e36033a8afb1b0eea 100644
--- a/win8/delegate_execute/command_execute_impl.cc
+++ b/win8/delegate_execute/command_execute_impl.cc
@@ -91,7 +91,7 @@ bool LaunchChromeBrowserProcess() {
return false;
}
- CommandLine cl(chrome_exe_path);
+ base::CommandLine cl(chrome_exe_path);
// Prevent a Chrome window from showing up on the desktop.
cl.AppendSwitch(switches::kSilentLaunch);
@@ -167,7 +167,7 @@ bool CommandExecuteImpl::path_provider_initialized_ = false;
// mode again.
//
CommandExecuteImpl::CommandExecuteImpl()
- : parameters_(CommandLine::NO_PROGRAM),
+ : parameters_(base::CommandLine::NO_PROGRAM),
launch_scheme_(INTERNET_SCHEME_DEFAULT),
integrity_level_(base::INTEGRITY_UNKNOWN) {
memset(&start_info_, 0, sizeof(start_info_));
@@ -391,9 +391,8 @@ HRESULT CommandExecuteImpl::LaunchDesktopChrome() {
break;
}
- CommandLine chrome(
- delegate_execute::MakeChromeCommandLine(chrome_exe_, parameters_,
- display_name));
+ base::CommandLine chrome(delegate_execute::MakeChromeCommandLine(
+ chrome_exe_, parameters_, display_name));
base::string16 command_line(chrome.GetCommandLineString());
AtlTrace("Formatted command line is %ls\n", command_line.c_str());
@@ -454,11 +453,11 @@ EC_HOST_UI_MODE CommandExecuteImpl::GetLaunchMode() {
if (parameters_.HasSwitch(switches::kForceImmersive)) {
launch_mode = ECHUIM_IMMERSIVE;
launch_mode_determined = true;
- parameters_ = CommandLine(CommandLine::NO_PROGRAM);
+ parameters_ = base::CommandLine(base::CommandLine::NO_PROGRAM);
} else if (parameters_.HasSwitch(switches::kForceDesktop)) {
launch_mode = ECHUIM_DESKTOP;
launch_mode_determined = true;
- parameters_ = CommandLine(CommandLine::NO_PROGRAM);
+ parameters_ = base::CommandLine(base::CommandLine::NO_PROGRAM);
}
base::win::RegKey reg_key;
« no previous file with comments | « ui/wm/core/window_animations.cc ('k') | win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698