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

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

Issue 17993005: Enable profile shortcut manager for windows when --show-app-list switch is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 abfb1d687602b6f5adef982cb16ec742370558f7..e3e0c3caa5bc206d7e996b6a60bff5dfa42d7833 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.cc
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc
@@ -557,8 +557,7 @@ string16 CreateProfileShortcutFlags(const base::FilePath& profile_path) {
// static
bool ProfileShortcutManager::IsFeatureEnabled() {
return BrowserDistribution::GetDistribution()->CanCreateDesktopShortcuts() &&
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir) &&
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kShowAppList);
+ !CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir);
}
// 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