Index: google_apis/gaia/oauth2_token_service.cc |
diff --git a/google_apis/gaia/oauth2_token_service.cc b/google_apis/gaia/oauth2_token_service.cc |
index df46b2cd5dbc8ee2dbd37f9f0a0cdc08594cb7f3..09457239420dcf6101c20875517ab3e341a4b0d1 100644 |
--- a/google_apis/gaia/oauth2_token_service.cc |
+++ b/google_apis/gaia/oauth2_token_service.cc |
@@ -78,13 +78,13 @@ void OAuth2TokenService::RequestImpl::InformConsumer( |
consumer_->OnGetTokenFailure(this, error); |
} |
-OAuth2TokenService::ScopedBacthChange::ScopedBacthChange( |
+OAuth2TokenService::ScopedBatchChange::ScopedBatchChange( |
OAuth2TokenService* token_service) : token_service_(token_service) { |
DCHECK(token_service_); |
token_service_->StartBatchChanges(); |
} |
-OAuth2TokenService::ScopedBacthChange::~ScopedBacthChange() { |
+OAuth2TokenService::ScopedBatchChange::~ScopedBatchChange() { |
token_service_->EndBatchChanges(); |
} |
@@ -150,7 +150,7 @@ class OAuth2TokenService::Fetcher : public OAuth2AccessTokenConsumer { |
const GoogleServiceAuthError& error() const { return error_; } |
protected: |
- // OAuth2AccessTokenConsumer |
+ // OAuth2AccessTokenConsumer |
void OnGetTokenSuccess(const std::string& access_token, |
const base::Time& expiration_date) override; |
void OnGetTokenFailure(const GoogleServiceAuthError& error) override; |