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 af8078cf8c716f4e582a40095b225fbf0be82a8d..6940a354460c47f96161a4ae5b033afe382742df 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
@@ -175,7 +175,8 @@ class ExistingUserControllerTest : public policy::DevicePolicyCrosBrowserTest { |
profile_prepared_cb_ = |
base::Bind(&ExistingUserController::OnProfilePrepared, |
base::Unretained(existing_user_controller()), |
- testing_profile_.get()); |
+ testing_profile_.get(), |
+ false); |
} |
virtual void TearDownOnMainThread() override { |
@@ -294,10 +295,6 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerTest, |
StartWizardPtr(WizardController::kEnrollmentScreenName, |
_)) |
.Times(0); |
- EXPECT_CALL(*mock_login_display_host_, |
- StartWizardPtr(WizardController::kTermsOfServiceScreenName, |
- NULL)) |
- .Times(1); |
UserContext user_context(kNewUsername); |
user_context.SetKey(Key(kPassword)); |
user_context.SetUserIDHash(kNewUsername); |