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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 668773002: [Win] The new profiles UI: now at an immersive mode near you (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: + curlies Created 6 years, 2 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/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index b8cf8c189fb42dcd109f0ea946ab1fb7d71f5698..4d62d79a383f8dc9c1e7f49f13ba4bbdee809aa9 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1039,8 +1039,11 @@ bool BrowserOptionsHandler::ShouldShowMultiProfilesUserList() {
// On Chrome OS we use different UI for multi-profiles.
return false;
#else
- if (helper::GetDesktopType(web_ui()) != chrome::HOST_DESKTOP_TYPE_NATIVE)
+ chrome::HostDesktopType desktop_type = helper::GetDesktopType(web_ui());
+ if (desktop_type != chrome::HOST_DESKTOP_TYPE_NATIVE &&
msw 2014/10/21 19:54:38 What? I don't think there is any other desktop typ
noms (inactive) 2014/10/21 20:55:18 Oh, yeah, you're totally right. I misread that enu
+ desktop_type != chrome::HOST_DESKTOP_TYPE_ASH) {
return false;
+ }
Profile* profile = Profile::FromWebUI(web_ui());
if (profile->IsGuestSession())
return false;

Powered by Google App Engine
This is Rietveld 408576698