summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/gaia/token_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/gaia/token_service_unittest.cc')
-rw-r--r--chrome/browser/net/gaia/token_service_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/net/gaia/token_service_unittest.cc b/chrome/browser/net/gaia/token_service_unittest.cc
index 1082121..c560b61 100644
--- a/chrome/browser/net/gaia/token_service_unittest.cc
+++ b/chrome/browser/net/gaia/token_service_unittest.cc
@@ -159,8 +159,7 @@ TEST_F(TokenServiceTest, NotificationSuccess) {
TEST_F(TokenServiceTest, NotificationFailed) {
EXPECT_EQ(0U, success_tracker_.size());
EXPECT_EQ(0U, failure_tracker_.size());
- GaiaAuthConsumer::GaiaAuthError error;
- error.code = GaiaAuthConsumer::REQUEST_CANCELED;
+ GoogleServiceAuthError error(GoogleServiceAuthError::REQUEST_CANCELED);
service_.OnIssueAuthTokenFailure(GaiaConstants::kSyncService, error);
EXPECT_EQ(0U, success_tracker_.size());
EXPECT_EQ(1U, failure_tracker_.size());