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

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

Issue 12316097: Added master_preferences to control shortcuts on windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
Index: chrome/installer/util/master_preferences.cc
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc
index 665d65dc8f740f8dc257c49900ac665cbaeaf55f..072885ac2c06070ea2c929ee7839b62e8030b20f 100644
--- a/chrome/installer/util/master_preferences.cc
+++ b/chrome/installer/util/master_preferences.cc
@@ -267,7 +267,7 @@ void MasterPreferences::InitializeProductFlags() {
void MasterPreferences::EnforceLegacyPreferences() {
// If create_all_shortcuts was explicitly set to false, set
- // do_not_create_(desktop|quick_launch)_shortcut to true.
+ // do_not_create_(desktop|quick_launch|start_menu)_shortcut to true.
gab 2013/02/26 20:35:46 (see comment below first) Highlight here that thi
Joao da Silva 2013/03/06 19:57:38 Done.
bool create_all_shortcuts = true;
GetBool(installer::master_preferences::kCreateAllShortcuts,
&create_all_shortcuts);
@@ -276,6 +276,8 @@ void MasterPreferences::EnforceLegacyPreferences() {
installer::master_preferences::kDoNotCreateDesktopShortcut, true);
distribution_->SetBoolean(
installer::master_preferences::kDoNotCreateQuickLaunchShortcut, true);
+ distribution_->SetBoolean(
gab 2013/02/26 20:35:46 Do not add this to this method as it is only here
Joao da Silva 2013/03/06 19:57:38 Done.
+ installer::master_preferences::kDoNotCreateStartMenuShortcut, true);
}
}

Powered by Google App Engine
This is Rietveld 408576698