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

Unified Diff: ash/test/test_session_state_delegate.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: Added tests. 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/test/test_session_state_delegate.cc
diff --git a/ash/test/test_session_state_delegate.cc b/ash/test/test_session_state_delegate.cc
index 4c7614341ee324be21d8929f38753d143ea67a87..eac5576997fe62cd2aad553ff7b3d06881f79e25 100644
--- a/ash/test/test_session_state_delegate.cc
+++ b/ash/test/test_session_state_delegate.cc
@@ -227,6 +227,11 @@ void TestSessionStateDelegate::CycleActiveUser(CycleUser cycle_user) {
SwitchActiveUser("someone@tray");
}
+bool TestSessionStateDelegate::IsMultiProfileAllowedByPrimaryUserPolicy()
+ const {
+ return true;
+}
+
void TestSessionStateDelegate::AddSessionStateObserver(
SessionStateObserver* observer) {
}

Powered by Google App Engine
This is Rietveld 408576698