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

Unified Diff: chrome/installer/util/google_update_util.cc

Issue 12250005: Pass /nomitag to GoogleUpdateSetup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass /nomitag to GoogleUpdateSetup. Created 7 years, 10 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/google_update_util.cc
diff --git a/chrome/installer/util/google_update_util.cc b/chrome/installer/util/google_update_util.cc
index 980664194a54ae16815bf6f92f2f3656ac357262..195436b23cdfd6dbdbc744ab980989140eab8f9a 100644
--- a/chrome/installer/util/google_update_util.cc
+++ b/chrome/installer/util/google_update_util.cc
@@ -70,13 +70,15 @@ bool GetUserLevelGoogleUpdateInstallCommandLine(string16* cmd_string) {
GetGoogleUpdateSetupExe(true)); // system-level.
if (!google_update_setup.empty()) {
CommandLine cmd(google_update_setup);
- // Appends parameter "/install runtime=true&needsadmin=false /silent"
+ // Appends "/install runtime=true&needsadmin=false /silent /nomitag".
+ // NB: /nomitag needs to be at the end.
// Constants are found in code.google.com/p/omaha/common/const_cmd_line.h.
cmd.AppendArg("/install");
// The "&" can be used in base::LaunchProcess() without quotation
// (this is problematic only if run from command prompt).
cmd.AppendArg("runtime=true&needsadmin=false");
cmd.AppendArg("/silent");
+ cmd.AppendArg("/nomitag");
*cmd_string = cmd.GetCommandLineString();
}
return !cmd_string->empty();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698