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

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

Issue 9007025: Coverity fix: Big parameter passed by value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase trunk Created 8 years, 11 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_access_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_access_token_fetcher.cc
diff --git a/chrome/common/net/gaia/oauth2_access_token_fetcher.cc b/chrome/common/net/gaia/oauth2_access_token_fetcher.cc
index 4960a14ff00a2857c5992c1d54739da5dae12770..7543a53edb3a874aa96d73ba2527e016e17b2c5e 100644
--- a/chrome/common/net/gaia/oauth2_access_token_fetcher.cc
+++ b/chrome/common/net/gaia/oauth2_access_token_fetcher.cc
@@ -152,7 +152,8 @@ void OAuth2AccessTokenFetcher::OnGetTokenSuccess(
consumer_->OnGetTokenSuccess(access_token);
}
-void OAuth2AccessTokenFetcher::OnGetTokenFailure(GoogleServiceAuthError error) {
+void OAuth2AccessTokenFetcher::OnGetTokenFailure(
+ const GoogleServiceAuthError& error) {
state_ = ERROR_STATE;
consumer_->OnGetTokenFailure(error);
}
« no previous file with comments | « chrome/common/net/gaia/oauth2_access_token_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698