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

Unified Diff: content/browser/download/download_browsertest.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: content/browser/download/download_browsertest.cc
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index a62cd890823aec6df9a2fab3a51356de20fccb3b..b602497817c37742e86a76af817c5d403492abe5 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -957,7 +957,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, ResumeInterruptedDownload) {
ASSERT_TRUE(test_server()->Start());
GURL url = test_server()->GetURL(
- StringPrintf("rangereset?size=%d&rst_boundary=%d",
+ base::StringPrintf("rangereset?size=%d&rst_boundary=%d",
GetSafeBufferChunk() * 3, GetSafeBufferChunk()));
DownloadItem* download(StartDownloadAndReturnItem(url));
@@ -1018,7 +1018,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, ResumeInterruptedDownloadNoRange) {
// Auto-restart if server doesn't handle ranges.
GURL url = test_server()->GetURL(
- StringPrintf(
+ base::StringPrintf(
// First download hits an RST, rest don't, no ranges.
"rangereset?size=%d&rst_boundary=%d&"
"token=NoRange&rst_limit=1&bounce_range",
@@ -1066,7 +1066,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest,
ASSERT_TRUE(test_server()->Start());
GURL url = test_server()->GetURL(
- StringPrintf(
+ base::StringPrintf(
// First download hits an RST, rest don't, precondition fail.
"rangereset?size=%d&rst_boundary=%d&"
"token=NoRange&rst_limit=1&fail_precondition=2",
@@ -1116,7 +1116,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest,
ASSERT_TRUE(test_server()->Start());
GURL url = test_server()->GetURL(
- StringPrintf(
+ base::StringPrintf(
// First download hits an RST, rest don't, no verifiers.
"rangereset?size=%d&rst_boundary=%d&"
"token=NoRange&rst_limit=1&no_verifiers",
@@ -1160,7 +1160,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, ResumeWithDeletedFile) {
ASSERT_TRUE(test_server()->Start());
GURL url = test_server()->GetURL(
- StringPrintf(
+ base::StringPrintf(
// First download hits an RST, rest don't
"rangereset?size=%d&rst_boundary=%d&"
"token=NoRange&rst_limit=1",

Powered by Google App Engine
This is Rietveld 408576698