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

Unified Diff: cloud_print/common/win/install_utils.cc

Issue 735053002: Prefix CommandLine usage with base namespace (Part 7: cloud_print/) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | cloud_print/gcp20/prototype/command_line_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/common/win/install_utils.cc
diff --git a/cloud_print/common/win/install_utils.cc b/cloud_print/common/win/install_utils.cc
index 6c421eddf621532fe8bdd6bc2ca48dc6eebc2cee..d4694cf578af4216362c7fdbaebb0856e50b5aac 100644
--- a/cloud_print/common/win/install_utils.cc
+++ b/cloud_print/common/win/install_utils.cc
@@ -144,7 +144,7 @@ void CreateUninstallKey(const base::string16& uninstall_id,
base::FilePath unstall_binary;
CHECK(PathService::Get(base::FILE_EXE, &unstall_binary));
- CommandLine uninstall_command(unstall_binary);
+ base::CommandLine uninstall_command(unstall_binary);
uninstall_command.AppendSwitch(uninstall_switch);
key.WriteValue(kUninstallString,
uninstall_command.GetCommandLineString().c_str());
@@ -200,7 +200,7 @@ void DeleteProgramDir(const std::string& delete_switch) {
return;
base::CopyFile(installer_source, temp_path);
base::DeleteFileAfterReboot(temp_path);
- CommandLine command_line(temp_path);
+ base::CommandLine command_line(temp_path);
command_line.AppendSwitchPath(delete_switch, installer_source.DirName());
base::LaunchOptions options;
base::ProcessHandle process_handle;
« no previous file with comments | « no previous file | cloud_print/gcp20/prototype/command_line_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698