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

Unified Diff: components/autofill/browser/wallet/encryption_escrow_client.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: components/autofill/browser/wallet/encryption_escrow_client.cc
diff --git a/components/autofill/browser/wallet/encryption_escrow_client.cc b/components/autofill/browser/wallet/encryption_escrow_client.cc
index e41014dea4a93593e906aae80edee7de4445873e..cf7d21d86c2c8d8af3b1872cc9a9c3164194ab87 100644
--- a/components/autofill/browser/wallet/encryption_escrow_client.cc
+++ b/components/autofill/browser/wallet/encryption_escrow_client.cc
@@ -60,7 +60,7 @@ void EncryptionEscrowClient::EncryptOneTimePad(
request_type_ = ENCRYPT_ONE_TIME_PAD;
- std::string post_body = StringPrintf(
+ std::string post_body = base::StringPrintf(
kEncryptOtpBodyFormat,
base::HexEncode(&num_bits, 1).c_str(),
base::HexEncode(&(one_time_pad[0]), one_time_pad.size()).c_str());
@@ -81,7 +81,7 @@ void EncryptionEscrowClient::EscrowInstrumentInformation(
net::EscapeUrlEncodedData(
UTF16ToUTF8(new_instrument.card_verification_number()), true);
- std::string post_body = StringPrintf(
+ std::string post_body = base::StringPrintf(
kEscrowInstrumentInformationFormat,
obfuscated_gaia_id.c_str(),
primary_account_number.c_str(),
@@ -96,7 +96,7 @@ void EncryptionEscrowClient::EscrowCardVerificationNumber(
DCHECK_EQ(NO_PENDING_REQUEST, request_type_);
request_type_ = ESCROW_CARD_VERIFICATION_NUMBER;
- std::string post_body = StringPrintf(
+ std::string post_body = base::StringPrintf(
kEscrowCardVerficationNumberFormat,
obfuscated_gaia_id.c_str(),
card_verification_number.c_str());

Powered by Google App Engine
This is Rietveld 408576698