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

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

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 | « no previous file | chrome/common/net/gaia/oauth2_mint_token_fetcher.cc » ('j') | 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.h
diff --git a/chrome/common/net/gaia/oauth2_mint_token_fetcher.h b/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
index e9c1e5b7ec23993ebd37b7bf54b4ce03843a4f2e..b7aec3131a204ca0c38981c756dbbefd6ac8facf 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
+++ b/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
@@ -69,9 +69,9 @@ class OAuth2MintTokenFetcher : public content::URLFetcherDelegate {
void StartMintToken();
void EndMintToken(const content::URLFetcher* source);
- // Helper mehtods for reporting back results.
+ // Helper methods for reporting back results.
void OnMintTokenSuccess(const std::string& access_token);
- void OnMintTokenFailure(GoogleServiceAuthError error);
+ void OnMintTokenFailure(const GoogleServiceAuthError& error);
// Other helpers.
static GURL MakeMintTokenUrl();
« no previous file with comments | « no previous file | chrome/common/net/gaia/oauth2_mint_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698