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

Unified Diff: win8/delegate_execute/delegate_execute_util.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
Index: win8/delegate_execute/delegate_execute_util.cc
diff --git a/win8/delegate_execute/delegate_execute_util.cc b/win8/delegate_execute/delegate_execute_util.cc
index 78203ed4ec8da297b1405ae049a7c3a895a02f2c..87a5fb66b8971e79573abd6234a43f1ea650b6ec 100644
--- a/win8/delegate_execute/delegate_execute_util.cc
+++ b/win8/delegate_execute/delegate_execute_util.cc
@@ -9,8 +9,8 @@
namespace delegate_execute {
-CommandLine CommandLineFromParameters(const wchar_t* params) {
- CommandLine command_line(CommandLine::NO_PROGRAM);
+base::CommandLine CommandLineFromParameters(const wchar_t* params) {
+ base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
if (params) {
base::string16 command_string(L"noprogram.exe ");
@@ -22,10 +22,10 @@ CommandLine CommandLineFromParameters(const wchar_t* params) {
return command_line;
}
-CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe,
- const CommandLine& params,
- const base::string16& argument) {
- CommandLine chrome_cmd(params);
+base::CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe,
+ const base::CommandLine& params,
+ const base::string16& argument) {
+ base::CommandLine chrome_cmd(params);
chrome_cmd.SetProgram(chrome_exe);
if (!argument.empty())
@@ -38,7 +38,7 @@ base::string16 ParametersFromSwitch(const char* a_switch) {
if (!a_switch)
return base::string16();
- CommandLine cmd_line(CommandLine::NO_PROGRAM);
+ base::CommandLine cmd_line(base::CommandLine::NO_PROGRAM);
cmd_line.AppendSwitch(a_switch);
« no previous file with comments | « win8/delegate_execute/delegate_execute_operation.cc ('k') | win8/delegate_execute/delegate_execute_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698