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

Unified Diff: ash/shell/shell_delegate_impl.cc

Issue 374853002: Providing more information on why certain users can't be added to multi-profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix Created 6 years, 4 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 | « ash/session/session_state_delegate.h ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 6261e1e98f2add161c8edfec38994d10be1c7eb6..02c6a27a2d5d75ac1cc1d24515a34ecd9f4ad1d5 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -128,6 +128,9 @@ class SessionStateDelegateImpl : public SessionStateDelegate {
}
virtual void SwitchActiveUser(const std::string& user_id) OVERRIDE {}
virtual void CycleActiveUser(CycleUser cycle_user) OVERRIDE {}
+ virtual bool IsMultiProfileAllowedByPrimaryUserPolicy() const OVERRIDE {
+ return true;
+ }
virtual void AddSessionStateObserver(
ash::SessionStateObserver* observer) OVERRIDE {}
virtual void RemoveSessionStateObserver(
« no previous file with comments | « ash/session/session_state_delegate.h ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698