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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc

Issue 2771803003: Don't start FRE from the login screen (Closed)
Patch Set: Improve comments Created 3 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/chromeos/login/existing_user_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
index facc5e4afd1a6ecfb3a0fd816fffb3bee3cb80fb..d26d2d2134738d6050afb469fbb3031088748545 100644
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
@@ -668,8 +668,6 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerPublicSessionTest,
user_context.SetKey(Key(kPassword));
user_context.SetUserIDHash(user_context.GetAccountId().GetUserEmail());
ExpectSuccessfulLogin(user_context);
- EXPECT_CALL(*mock_login_display_host_, OnCompleteLogin())
- .Times(1);
existing_user_controller()->OnSigninScreenReady();
SetAutoLoginPolicy(kPublicSessionUserEmail, kAutoLoginLongDelay);
@@ -801,7 +799,6 @@ class ExistingUserControllerActiveDirectoryTest
void ExpectLoginSuccess() {
EXPECT_CALL(*mock_login_display_, SetUIEnabled(false)).Times(2);
EXPECT_CALL(*mock_login_display_, SetUIEnabled(true)).Times(1);
- EXPECT_CALL(*mock_login_display_host_, OnCompleteLogin()).Times(1);
}
};
@@ -842,7 +839,6 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerActiveDirectoryTest,
IN_PROC_BROWSER_TEST_F(ExistingUserControllerActiveDirectoryTest,
GAIAAccountLogin_Failure) {
ExpectLoginFailure();
- EXPECT_CALL(*mock_login_display_host_, OnCompleteLogin()).Times(1);
UserContext user_context(gaia_account_id_);
user_context.SetKey(Key(kPassword));
user_context.SetUserIDHash(gaia_account_id_.GetUserEmail());
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/ui/login_display_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698