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

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: Rebase 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
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..1c6824dcc6fabf4cd81d42961484bde87ac654cd 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 PrimaryUserPolicy GetPrimaryUserPolicy() const OVERRIDE {
+ return PRIMARY_USER_POLICY_ALLOW;
+ }
virtual void AddSessionStateObserver(
ash::SessionStateObserver* observer) OVERRIDE {}
virtual void RemoveSessionStateObserver(

Powered by Google App Engine
This is Rietveld 408576698