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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.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: chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc b/chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc
index 45c25bcf704ac12c1a44a5a135d85c59a72b2a55..e0eeefabaf95d6ddbb1fc2f0d8a970b72f6ae5ad 100644
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc
@@ -93,7 +93,7 @@ class PushMessagingCanaryTest : public ExtensionApiTest {
const std::string& refresh_token = sync_setup_helper_->refresh_token();
// Construct a JS string to pass in the parameters and start the test.
- std::string script_string = StringPrintf(
+ std::string script_string = base::StringPrintf(
"startTestWithCredentials('%s', '%s', '%s');",
client_id.c_str(), client_secret.c_str(), refresh_token.c_str());
string16 script16 = UTF8ToUTF16(script_string);

Powered by Google App Engine
This is Rietveld 408576698