Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Unified Diff: components/signin/core/browser/mutable_profile_oauth2_token_service.cc

Issue 681483003: Fix a typo in an OAuth2TokenService classname (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/signin/core/browser/mutable_profile_oauth2_token_service.cc
diff --git a/components/signin/core/browser/mutable_profile_oauth2_token_service.cc b/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
index 6813351f7bc898441bd73191c58f51354b1cb0a7..9f28f9aff6f7db31220c18374a26fde2eb61c918 100644
--- a/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
+++ b/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
@@ -233,7 +233,7 @@ void MutableProfileOAuth2TokenService::LoadAllCredentialsIntoMemory(
std::string old_login_token;
{
- ScopedBacthChange batch(this);
+ ScopedBatchChange batch(this);
for (std::map<std::string, std::string>::const_iterator iter =
db_tokens.begin();
@@ -319,7 +319,7 @@ void MutableProfileOAuth2TokenService::UpdateCredentials(
bool refresh_token_present = refresh_tokens_.count(account_id) > 0;
if (!refresh_token_present ||
refresh_tokens_[account_id]->refresh_token() != refresh_token) {
- ScopedBacthChange batch(this);
+ ScopedBatchChange batch(this);
// If token present, and different from the new one, cancel its requests,
// and clear the entries in cache related to that account.
@@ -351,7 +351,7 @@ void MutableProfileOAuth2TokenService::RevokeCredentials(
DCHECK(thread_checker_.CalledOnValidThread());
if (refresh_tokens_.count(account_id) > 0) {
- ScopedBacthChange batch(this);
+ ScopedBatchChange batch(this);
RevokeCredentialsOnServer(refresh_tokens_[account_id]->refresh_token());
CancelRequestsForAccount(account_id);
ClearCacheForAccount(account_id);
@@ -383,7 +383,7 @@ void MutableProfileOAuth2TokenService::RevokeAllCredentials() {
return;
DCHECK(thread_checker_.CalledOnValidThread());
- ScopedBacthChange batch(this);
+ ScopedBatchChange batch(this);
CancelWebTokenFetch();
CancelAllRequests();

Powered by Google App Engine
This is Rietveld 408576698