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

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 783523004: Update installer to use the new version of LaunchProcess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | chrome/installer/setup/setup_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 0acc5fcad4f3f77f7d014b324434cd81588b7e3a..ce590b0bf0e504ecde339932115ad90062aafa2f 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -587,7 +587,7 @@ bool CheckPreInstallConditions(const InstallationState& original_state,
cmd.AppendSwitch(switches::kForceFirstRun);
installer_state->WriteInstallerResult(*status, 0, NULL);
VLOG(1) << "Launching existing system-level chrome instead.";
- base::LaunchProcess(cmd, base::LaunchOptions(), NULL);
+ base::LaunchProcess(cmd, base::LaunchOptions());
}
} else {
// It's no longer possible for |product| to be anything other than
@@ -729,7 +729,7 @@ installer::InstallStatus UninstallProducts(
InstallUtil::TriggerActiveSetupCommand();
if (!system_level_cmd.GetProgram().empty())
- base::LaunchProcess(system_level_cmd, base::LaunchOptions(), NULL);
+ base::LaunchProcess(system_level_cmd, base::LaunchOptions());
// Tell Google Update that an uninstall has taken place.
// Ignore the return value: success or failure of Google Update
« no previous file with comments | « no previous file | chrome/installer/setup/setup_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698