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

Unified Diff: chrome/common/net/gaia/oauth2_mint_token_fetcher.cc

Issue 9596001: Coverity: Fix pass-by-value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
« no previous file with comments | « chrome/common/net/gaia/oauth2_mint_token_fetcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
diff --git a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
index 62a2cb17901d51e7ea922c0fe7e7681d21702f48..84d2e0ada766dce6e8eae9d62b8f53a63432bc38 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
+++ b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
@@ -137,7 +137,8 @@ void OAuth2MintTokenFetcher::OnMintTokenSuccess(
consumer_->OnMintTokenSuccess(access_token);
}
-void OAuth2MintTokenFetcher::OnMintTokenFailure(GoogleServiceAuthError error) {
+void OAuth2MintTokenFetcher::OnMintTokenFailure(
+ const GoogleServiceAuthError& error) {
state_ = ERROR_STATE;
consumer_->OnMintTokenFailure(error);
}
« no previous file with comments | « chrome/common/net/gaia/oauth2_mint_token_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698