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

Unified Diff: ash/test/test_session_state_delegate.cc

Issue 783663003: Special check on Supervised User creation flow added to prevent misleading shelf alignment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 ebdad585323a93cacf5cdfdd3f57393d7a7dc19c..b53fba0be630f4a36f7d0557d4aa77c4c4b4ff95 100644
--- a/ash/test/test_session_state_delegate.cc
+++ b/ash/test/test_session_state_delegate.cc
@@ -143,6 +143,10 @@ bool TestSessionStateDelegate::IsUserSessionBlocked() const {
user_adding_screen_running_;
}
+bool TestSessionStateDelegate::IsInSupervisedUserCreationFlow() const override {
+ return false;
+}
+
SessionStateDelegate::SessionState TestSessionStateDelegate::GetSessionState()
const {
if (user_adding_screen_running_)

Powered by Google App Engine
This is Rietveld 408576698