| Index: chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| index 55a187c30bcf2a0dd7d928dbedc1d6c880709047..dcb2e87ab9ba845dbc6bbe67532b317fca1925d0 100644
|
| --- a/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
|
| @@ -490,7 +490,7 @@ TEST_F(ParallelAuthenticatorTest, DriveDataRecover) {
|
| EXPECT_CALL(*mock_caller_, AsyncMount(username_, hash_ascii_, false, _))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_cryptohome_library_, HashPassword(_))
|
| + EXPECT_CALL(*mock_cryptohome_library_, GetSystemSalt())
|
| .WillOnce(Return(std::string()))
|
| .RetiresOnSaturation();
|
|
|
| @@ -511,7 +511,7 @@ TEST_F(ParallelAuthenticatorTest, DriveDataRecoverButFail) {
|
| EXPECT_CALL(*mock_caller_, AsyncMigrateKey(username_, _, hash_ascii_, _))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_cryptohome_library_, HashPassword(_))
|
| + EXPECT_CALL(*mock_cryptohome_library_, GetSystemSalt())
|
| .WillOnce(Return(std::string()))
|
| .RetiresOnSaturation();
|
|
|
| @@ -628,7 +628,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetNewPassword) {
|
| _))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_cryptohome_library_, HashPassword(_))
|
| + EXPECT_CALL(*mock_cryptohome_library_, GetSystemSalt())
|
| .WillOnce(Return(std::string()))
|
| .RetiresOnSaturation();
|
|
|
| @@ -666,7 +666,7 @@ TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetNewPassword) {
|
| TEST_F(ParallelAuthenticatorTest, DriveOfflineLoginGetCaptchad) {
|
| ExpectLoginSuccess(username_, password_, true);
|
| FailOnLoginFailure();
|
| - EXPECT_CALL(*mock_cryptohome_library_, HashPassword(_))
|
| + EXPECT_CALL(*mock_cryptohome_library_, GetSystemSalt())
|
| .WillOnce(Return(std::string()))
|
| .RetiresOnSaturation();
|
|
|
| @@ -748,7 +748,7 @@ TEST_F(ParallelAuthenticatorTest, DriveUnlock) {
|
| EXPECT_CALL(*mock_caller_, AsyncCheckKey(username_, _, _))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_cryptohome_library_, HashPassword(_))
|
| + EXPECT_CALL(*mock_cryptohome_library_, GetSystemSalt())
|
| .WillOnce(Return(std::string()))
|
| .RetiresOnSaturation();
|
|
|
|
|