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

Unified Diff: chrome/browser/extensions/webstore_inline_installer.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/webstore_inline_installer.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index 127837193dac456e30e556d86d1772c34938abc5..356659ca9bb4ddff013d747f12dd0c60bd832d86 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -147,7 +147,8 @@ bool WebstoreInlineInstaller::IsRequestorURLInVerifiedSite(
// Turn the verified site (which may be a bare domain, or have a port and/or a
// path) into a URL that can be parsed by URLPattern.
std::string verified_site_url =
- StringPrintf("http://*.%s%s",
+ base::StringPrintf(
+ "http://*.%s%s",
verified_site.c_str(),
verified_site.find('/') == std::string::npos ? "/*" : "*");

Powered by Google App Engine
This is Rietveld 408576698