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

Unified Diff: chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc

Issue 2705363002: cros: Move BaseScreenDelegate::ExitCodes into separate file, ScreenExitCode. (Closed)
Patch Set: Rebase Created 3 years, 10 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/enrollment/enrollment_screen_browsertest.cc
diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc b/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc
index 3e210ce8c8b555b8a369de1fde82d0ea41260c78..d1029f88beddac192d0e39651f2e9b7bc8726488 100644
--- a/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc
+++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc
@@ -54,7 +54,7 @@ IN_PROC_BROWSER_TEST_F(EnrollmentScreenTest, TestCancel) {
enrollment_screen);
EXPECT_CALL(mock_base_screen_delegate,
- OnExit(_, BaseScreenDelegate::ENTERPRISE_ENROLLMENT_COMPLETED, _))
+ OnExit(_, ScreenExitCode::ENTERPRISE_ENROLLMENT_COMPLETED, _))
.WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit));
enrollment_screen->OnCancel();
content::RunThisRunLoop(&run_loop);
@@ -118,7 +118,7 @@ IN_PROC_BROWSER_TEST_F(AttestationAuthEnrollmentScreenTest, TestCancel) {
enrollment_screen);
EXPECT_CALL(mock_base_screen_delegate,
- OnExit(_, BaseScreenDelegate::ENTERPRISE_ENROLLMENT_COMPLETED, _))
+ OnExit(_, ScreenExitCode::ENTERPRISE_ENROLLMENT_COMPLETED, _))
.WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit));
ASSERT_FALSE(enrollment_screen->AdvanceToNextAuth());
enrollment_screen->OnCancel();
@@ -190,7 +190,7 @@ IN_PROC_BROWSER_TEST_F(ForcedAttestationAuthEnrollmentScreenTest, TestCancel) {
enrollment_screen);
EXPECT_CALL(mock_base_screen_delegate,
- OnExit(_, BaseScreenDelegate::ENTERPRISE_ENROLLMENT_BACK, _))
+ OnExit(_, ScreenExitCode::ENTERPRISE_ENROLLMENT_BACK, _))
.WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit));
ASSERT_FALSE(enrollment_screen->AdvanceToNextAuth());
enrollment_screen->OnCancel();
@@ -237,7 +237,7 @@ IN_PROC_BROWSER_TEST_F(MultiAuthEnrollmentScreenTest, TestCancel) {
enrollment_screen);
EXPECT_CALL(mock_base_screen_delegate,
- OnExit(_, BaseScreenDelegate::ENTERPRISE_ENROLLMENT_BACK, _))
+ OnExit(_, ScreenExitCode::ENTERPRISE_ENROLLMENT_BACK, _))
.WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit));
ASSERT_TRUE(enrollment_screen->AdvanceToNextAuth());
enrollment_screen->OnCancel();
@@ -282,7 +282,7 @@ IN_PROC_BROWSER_TEST_F(ProvisionedEnrollmentScreenTest, TestBackButton) {
enrollment_screen);
EXPECT_CALL(mock_base_screen_delegate,
- OnExit(_, BaseScreenDelegate::ENTERPRISE_ENROLLMENT_BACK, _))
+ OnExit(_, ScreenExitCode::ENTERPRISE_ENROLLMENT_BACK, _))
.WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit));
enrollment_screen->OnCancel();
content::RunThisRunLoop(&run_loop);

Powered by Google App Engine
This is Rietveld 408576698