| Index: chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| index 345baa2f7e4ed4fa38794dbfff1412c20625eb6e..2f0de873f9b8856ab6dc154dd4fd86d2bf0f9c0b 100644
|
| --- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| +++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| @@ -793,7 +793,8 @@ TEST_P(SyncSetupHandlerNonCrosTest, UnrecoverableErrorInitializingSync) {
|
| GoogleServiceAuthError none(GoogleServiceAuthError::NONE);
|
| EXPECT_CALL(*mock_pss_, HasUnrecoverableError())
|
| .WillRepeatedly(Return(true));
|
| - mock_signin_->SignOut();
|
| + // On non-Cros platforms, we use SigninManager.
|
| + static_cast<SigninManager*>(mock_signin_)->SignOut();
|
| handler_->SigninFailed(none);
|
| ASSERT_EQ(3U, web_ui_.call_data().size());
|
| // Validate the second JS call (the first call was already tested by
|
| @@ -843,7 +844,8 @@ TEST_P(SyncSetupHandlerNonCrosTest, GaiaErrorInitializingSync) {
|
| GoogleServiceAuthError::SERVICE_UNAVAILABLE);
|
| EXPECT_CALL(*mock_pss_, HasUnrecoverableError())
|
| .WillRepeatedly(Return(false));
|
| - mock_signin_->SignOut();
|
| + // On non-Cros platforms, we use SigninManager.
|
| + static_cast<SigninManager*>(mock_signin_)->SignOut();
|
| handler_->SigninFailed(unavailable);
|
| ASSERT_EQ(3U, web_ui_.call_data().size());
|
| // Validate the second JS call (the first call was already tested by
|
|
|