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

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

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (Closed)
Patch Set: Address comments Created 3 years, 11 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 3eb18113083e8ce4f3dfe93f56921a23a7a45e64..3ea594b057ee2c30140cd5a45e63d916b2c07e71 100644
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
@@ -253,7 +253,7 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerTest, DISABLED_ExistingUserLogin) {
EXPECT_CALL(*mock_login_display_, SetUIEnabled(true))
.Times(1);
EXPECT_CALL(*mock_login_display_host_,
- StartWizard(WizardController::kTermsOfServiceScreenName))
+ StartWizard(OobeScreen::SCREEN_TERMS_OF_SERVICE))
.Times(0);
content::WindowedNotificationObserver profile_prepared_observer(
@@ -446,7 +446,7 @@ class ExistingUserControllerPublicSessionTest
UserSessionManager::GetInstance());
session_manager_test_api.InjectStubUserContext(user_context);
EXPECT_CALL(*mock_login_display_host_,
- StartWizard(WizardController::kTermsOfServiceScreenName))
+ StartWizard(OobeScreen::SCREEN_TERMS_OF_SERVICE))
.Times(0);
EXPECT_CALL(*mock_login_display_, SetUIEnabled(false)).Times(AnyNumber());
EXPECT_CALL(*mock_login_display_, SetUIEnabled(true)).Times(AnyNumber());
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/hid_detection_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698