Index: google_apis/gaia/oauth_request_signer.cc |
diff --git a/google_apis/gaia/oauth_request_signer.cc b/google_apis/gaia/oauth_request_signer.cc |
index 8e90ac806d793d45b07878e216ad79be63d9c126..b5d138f391b6270ef14797b6af9b45d516253f4c 100644 |
--- a/google_apis/gaia/oauth_request_signer.cc |
+++ b/google_apis/gaia/oauth_request_signer.cc |
@@ -79,12 +79,12 @@ const std::string SignatureMethodName( |
std::string BuildBaseString(const GURL& request_base_url, |
OAuthRequestSigner::HttpMethod http_method, |
const std::string& base_parameters) { |
- return StringPrintf("%s&%s&%s", |
- HttpMethodName(http_method).c_str(), |
- OAuthRequestSigner::Encode( |
- request_base_url.spec()).c_str(), |
- OAuthRequestSigner::Encode( |
- base_parameters).c_str()); |
+ return base::StringPrintf("%s&%s&%s", |
+ HttpMethodName(http_method).c_str(), |
+ OAuthRequestSigner::Encode( |
+ request_base_url.spec()).c_str(), |
+ OAuthRequestSigner::Encode( |
+ base_parameters).c_str()); |
} |
std::string BuildBaseStringParameters( |
@@ -448,9 +448,10 @@ bool OAuthRequestSigner::SignAuthHeader( |
else |
signed_text += ", "; |
signed_text += |
- StringPrintf("%s=\"%s\"", |
- OAuthRequestSigner::Encode(param->first).c_str(), |
- OAuthRequestSigner::Encode(param->second).c_str()); |
+ base::StringPrintf( |
+ "%s=\"%s\"", |
+ OAuthRequestSigner::Encode(param->first).c_str(), |
+ OAuthRequestSigner::Encode(param->second).c_str()); |
} |
*signed_text_return = signed_text; |
} |