Index: chrome/browser/chromeos/login/mock_authenticator.cc |
diff --git a/chrome/browser/chromeos/login/mock_authenticator.cc b/chrome/browser/chromeos/login/mock_authenticator.cc |
index 1d7df53e039cca8d0516cddd6b2aa19ff1b11914..5daf3df3a53403775ca6f657146a6eb265fa3f3d 100644 |
--- a/chrome/browser/chromeos/login/mock_authenticator.cc |
+++ b/chrome/browser/chromeos/login/mock_authenticator.cc |
@@ -6,7 +6,7 @@ |
namespace chromeos { |
-bool MockAuthenticator::AuthenticateToLogin(Profile* profile, |
+void MockAuthenticator::AuthenticateToLogin(Profile* profile, |
const std::string& username, |
const std::string& password, |
const std::string& login_token, |
@@ -15,26 +15,23 @@ bool MockAuthenticator::AuthenticateToLogin(Profile* profile, |
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, |
NewRunnableMethod(this, &MockAuthenticator::OnLoginSuccess, |
GaiaAuthConsumer::ClientLoginResult(), false)); |
- return true; |
} |
GoogleServiceAuthError error( |
GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS); |
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, |
NewRunnableMethod(this, &MockAuthenticator::OnLoginFailure, |
LoginFailure::FromNetworkAuthFailure(error))); |
- return false; |
} |
-bool MockAuthenticator::CompleteLogin(Profile* profile, |
+void MockAuthenticator::CompleteLogin(Profile* profile, |
const std::string& username, |
const std::string& password) { |
- return false; |
} |
-bool MockAuthenticator::AuthenticateToUnlock(const std::string& username, |
+void MockAuthenticator::AuthenticateToUnlock(const std::string& username, |
const std::string& password) { |
- return AuthenticateToLogin(NULL /* not used */, username, password, |
- std::string(), std::string()); |
+ AuthenticateToLogin(NULL /* not used */, username, password, |
+ std::string(), std::string()); |
} |
void MockAuthenticator::LoginOffTheRecord() { |