Index: chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc |
diff --git a/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc b/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc |
index 76f7ec632a5d7c81e02b43048016e496dcaa7729..6a8a251b2e1752f6c5b64bc85c5b27143015224d 100644 |
--- a/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc |
+++ b/chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc |
@@ -538,7 +538,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveGuestLogin) { |
EXPECT_CALL(*mock_caller_, AsyncMountGuest(_)).Times(1).RetiresOnSaturation(); |
auth_->LoginOffTheRecord(); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveGuestLoginButFail) { |
@@ -551,7 +551,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveGuestLoginButFail) { |
EXPECT_CALL(*mock_caller_, AsyncMountGuest(_)).Times(1).RetiresOnSaturation(); |
auth_->LoginOffTheRecord(); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveDataResync) { |
@@ -580,7 +580,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveDataResync) { |
SetAttemptState(auth_.get(), state_.release()); |
auth_->ResyncEncryptedData(); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveResyncFail) { |
@@ -598,7 +598,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveResyncFail) { |
SetAttemptState(auth_.get(), state_.release()); |
auth_->ResyncEncryptedData(); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveRequestOldPassword) { |
@@ -638,7 +638,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveDataRecover) { |
SetAttemptState(auth_.get(), state_.release()); |
auth_->RecoverEncryptedData(std::string()); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveDataRecoverButFail) { |
@@ -658,7 +658,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveDataRecoverButFail) { |
SetAttemptState(auth_.get(), state_.release()); |
auth_->RecoverEncryptedData(std::string()); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, ResolveNoMountToFailedMount) { |
@@ -749,7 +749,7 @@ TEST_F(CryptohomeAuthenticatorTest, DriveUnlock) { |
.RetiresOnSaturation(); |
auth_->AuthenticateToUnlock(user_context_); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(CryptohomeAuthenticatorTest, DriveLoginWithPreHashedPassword) { |