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

Unified Diff: google_apis/gaia/oauth2_revocation_fetcher.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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
Index: google_apis/gaia/oauth2_revocation_fetcher.cc
diff --git a/google_apis/gaia/oauth2_revocation_fetcher.cc b/google_apis/gaia/oauth2_revocation_fetcher.cc
index f5c7df12e6db9073bbc1ffd05d807e670f8cd537..eeec2137ff6627f04dcc9794c5d4e88d6da6f775 100644
--- a/google_apis/gaia/oauth2_revocation_fetcher.cc
+++ b/google_apis/gaia/oauth2_revocation_fetcher.cc
@@ -154,7 +154,7 @@ GURL OAuth2RevocationFetcher::MakeRevocationUrl() {
// static
std::string OAuth2RevocationFetcher::MakeRevocationHeader(
const std::string& access_token) {
- return StringPrintf(kAuthorizationHeaderFormat, access_token.c_str());
+ return base::StringPrintf(kAuthorizationHeaderFormat, access_token.c_str());
}
// static
@@ -163,7 +163,7 @@ std::string OAuth2RevocationFetcher::MakeRevocationBody(
const std::string& origin) {
std::string enc_client_id = net::EscapeUrlEncodedData(client_id, true);
std::string enc_origin = net::EscapeUrlEncodedData(origin, true);
- return StringPrintf(
+ return base::StringPrintf(
kRevocationBodyFormat,
enc_client_id.c_str(),
enc_origin.c_str());

Powered by Google App Engine
This is Rietveld 408576698