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

Unified Diff: chrome/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: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 35354a464c33c403654a30083dbb49b9d71bd4c4..9b2f6a77015e8038e4f6e1c157da7411ece6577f 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -2724,8 +2724,9 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, DownloadTest_Renaming) {
ASSERT_TRUE(item);
ASSERT_TRUE(item->IsComplete());
base::FilePath full_path(item->GetFullPath());
- EXPECT_EQ(std::string("a_zip_file") + (index == 0 ? std::string(".zip") :
- StringPrintf(" (%d).zip", index)),
+ EXPECT_EQ(std::string("a_zip_file") +
+ (index == 0 ? std::string(".zip") :
+ base::StringPrintf(" (%d).zip", index)),
full_path.BaseName().AsUTF8Unsafe());
ASSERT_TRUE(file_util::PathExists(full_path));
ASSERT_TRUE(VerifyFile(full_path, origin_contents, origin_contents.size()));

Powered by Google App Engine
This is Rietveld 408576698