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

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

Issue 196068: Adding a --do-not-create-shortcuts icons command line switch to the installer to prev... (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/install.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 25720)
+++ chrome/installer/setup/setup_util.cc (working copy)
@@ -50,6 +50,10 @@
installer_util::SetDistroBooleanPreference(
prefs, installer_util::master_preferences::kCreateAllShortcuts, true);
+ if (cmd_line.HasSwitch(installer_util::switches::kDoNotCreateShortcuts))
+ installer_util::SetDistroBooleanPreference(
+ prefs, installer_util::master_preferences::kDoNotCreateShortcuts, true);
+
if (cmd_line.HasSwitch(installer_util::switches::kDoNotLaunchChrome))
installer_util::SetDistroBooleanPreference(
prefs, installer_util::master_preferences::kDoNotLaunchChrome, true);
Property changes on: chrome\installer\setup\setup_util.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/installer/setup/install.cc ('k') | chrome/installer/util/master_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698