Index: chrome/common/net/gaia/gaia_oauth_client.cc |
diff --git a/chrome/common/net/gaia/gaia_oauth_client.cc b/chrome/common/net/gaia/gaia_oauth_client.cc |
index 375850021c3c9b783a582927a6e9877fc3f95069..9b0290b33fdc956927cf25496dd991564ca87f8a 100644 |
--- a/chrome/common/net/gaia/gaia_oauth_client.cc |
+++ b/chrome/common/net/gaia/gaia_oauth_client.cc |
@@ -50,7 +50,7 @@ class GaiaOAuthClient::Core |
friend class base::RefCountedThreadSafe<Core>; |
virtual ~Core() {} |
- void MakeGaiaRequest(std::string post_body, |
+ void MakeGaiaRequest(const std::string& post_body, |
int max_retries, |
GaiaOAuthClient::Delegate* delegate); |
void HandleResponse(const net::URLFetcher* source, |
@@ -94,7 +94,7 @@ void GaiaOAuthClient::Core::RefreshToken( |
} |
void GaiaOAuthClient::Core::MakeGaiaRequest( |
- std::string post_body, |
+ const std::string& post_body, |
int max_retries, |
GaiaOAuthClient::Delegate* delegate) { |
DCHECK(!request_.get()) << "Tried to fetch two things at once!"; |