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

Unified Diff: ui/app_list/app_list_menu.cc

Issue 309443002: Remove need to sign in to use the App Launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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: ui/app_list/app_list_menu.cc
diff --git a/ui/app_list/app_list_menu.cc b/ui/app_list/app_list_menu.cc
index fbbd7d0e0377794a6245d6cb31452164b72307b9..7114b06979960a3cd24683664ffded7e9c828996 100644
--- a/ui/app_list/app_list_menu.cc
+++ b/ui/app_list/app_list_menu.cc
@@ -67,10 +67,6 @@ bool AppListMenu::IsCommandIdChecked(int command_id) const {
}
bool AppListMenu::IsCommandIdEnabled(int command_id) const {
- if (command_id >= SELECT_PROFILE &&
- command_id < SELECT_PROFILE + static_cast<int>(users_.size())) {
- return !users_[command_id - SELECT_PROFILE].signin_required;
- }
return true;
}

Powered by Google App Engine
This is Rietveld 408576698