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

Unified Diff: chrome/browser/profiles/profile_shortcut_manager_win.cc

Issue 12570009: Disable ProfileShortcutManager for App Launcher (chrome.exe --show-app-list) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/browser/profiles/profile_shortcut_manager_win.cc
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.cc b/chrome/browser/profiles/profile_shortcut_manager_win.cc
index 7c41f8da107e94a2c276b6311e93bf6f70709136..0ee4a867127261f117aeeef93488bbff36a49209 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.cc
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc
@@ -535,7 +535,8 @@ string16 CreateProfileShortcutFlags(const base::FilePath& profile_path) {
// static
bool ProfileShortcutManager::IsFeatureEnabled() {
return BrowserDistribution::GetDistribution()->CanCreateDesktopShortcuts() &&
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir);
+ !CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir) &&
+ !CommandLine::ForCurrentProcess()->HasSwitch(switches::kShowAppList);
}
// static
« 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