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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/ash/chrome_shell_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
index 34407033dafeb4fb6d7ad186d3af739f604f3b12..b3662e03a2715aa703baa867c270f87fd4bea976 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
@@ -78,6 +78,10 @@ bool ChromeShellDelegate::IsFirstRunAfterBoot() const {
chromeos::switches::kFirstBoot);
}
+bool ChromeShellDelegate::IsMultiProfilesEnabled() const {
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles);
+}
+
bool ChromeShellDelegate::CanLockScreen() const {
return chromeos::UserManager::Get()->CanCurrentUserLock();
}

Powered by Google App Engine
This is Rietveld 408576698