| Index: chrome/browser/chromeos/login/google_authenticator_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/google_authenticator_unittest.cc b/chrome/browser/chromeos/login/google_authenticator_unittest.cc
|
| index 7dc58b01eab423a5e8f8587f879ba821b2cc475e..07a843ede6ba9b6c89a9dd42d379fa27d6300ce6 100644
|
| --- a/chrome/browser/chromeos/login/google_authenticator_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/google_authenticator_unittest.cc
|
| @@ -318,7 +318,7 @@ TEST_F(GoogleAuthenticatorTest, LoginNetFailure) {
|
| int error_no = net::ERR_CONNECTION_RESET;
|
| std::string data(net::ErrorToString(error_no));
|
|
|
| - GaiaAuthConsumer::ClientLoginError error;
|
| + GaiaAuthConsumer::GaiaAuthError error;
|
| error.code = GaiaAuthConsumer::NETWORK_ERROR;
|
| error.network_error = error_no;
|
|
|
| @@ -338,7 +338,7 @@ TEST_F(GoogleAuthenticatorTest, LoginDenied) {
|
| MessageLoopForUI message_loop;
|
| ChromeThread ui_thread(ChromeThread::UI, &message_loop);
|
|
|
| - GaiaAuthConsumer::ClientLoginError error;
|
| + GaiaAuthConsumer::GaiaAuthError error;
|
| error.code = GaiaAuthConsumer::PERMISSION_DENIED;
|
|
|
| MockConsumer consumer;
|
| @@ -356,7 +356,7 @@ TEST_F(GoogleAuthenticatorTest, CaptchaErrorOutputted) {
|
| ChromeThread ui_thread(ChromeThread::UI, &message_loop);
|
|
|
| // TODO(chron): Swap out this captcha passing for actual captcha parsing.
|
| - GaiaAuthConsumer::ClientLoginError error;
|
| + GaiaAuthConsumer::GaiaAuthError error;
|
| error.code = GaiaAuthConsumer::PERMISSION_DENIED;
|
| error.data = "Url=http://www.google.com/login/captcha\n"
|
| "Error=CaptchaRequired\n"
|
| @@ -377,7 +377,7 @@ TEST_F(GoogleAuthenticatorTest, OfflineLogin) {
|
| MessageLoopForUI message_loop;
|
| ChromeThread ui_thread(ChromeThread::UI, &message_loop);
|
|
|
| - GaiaAuthConsumer::ClientLoginError error;
|
| + GaiaAuthConsumer::GaiaAuthError error;
|
| error.code = GaiaAuthConsumer::NETWORK_ERROR;
|
| error.network_error = net::ERR_CONNECTION_RESET;
|
|
|
|
|