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

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

Issue 194118: Add a new flag to the installer to prevent registering for a Google Update la... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/master_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_util.cc
===================================================================
--- chrome/installer/setup/setup_util.cc (revision 26224)
+++ chrome/installer/setup/setup_util.cc (working copy)
@@ -54,6 +54,13 @@
installer_util::SetDistroBooleanPreference(
prefs, installer_util::master_preferences::kDoNotCreateShortcuts, true);
+ if (cmd_line.HasSwitch(
+ installer_util::switches::kDoNotRegisterForUpdateLaunch))
+ installer_util::SetDistroBooleanPreference(
+ prefs,
+ installer_util::master_preferences::kDoNotRegisterForUpdateLaunch,
+ true);
+
if (cmd_line.HasSwitch(installer_util::switches::kDoNotLaunchChrome))
installer_util::SetDistroBooleanPreference(
prefs, installer_util::master_preferences::kDoNotLaunchChrome, true);
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/master_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698