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

Unified Diff: net/disk_cache/backend_unittest.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: net/disk_cache/backend_unittest.cc
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
index db33c8e6ae9d520f4a691e17b0cd90e1cf6e4fad..824a048702e29b217e1a46442d0c18ce1b1aaf2d 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -649,7 +649,7 @@ TEST_F(DiskCacheBackendTest, NewEvictionTrim) {
disk_cache::Entry* entry;
for (int i = 0; i < 100; i++) {
- std::string name(StringPrintf("Key %d", i));
+ std::string name(base::StringPrintf("Key %d", i));
ASSERT_EQ(net::OK, CreateEntry(name, &entry));
entry->Close();
if (i < 90) {
@@ -2652,7 +2652,7 @@ TEST_F(DiskCacheBackendTest, UpdateRankForExternalCacheHit) {
disk_cache::Entry* entry;
for (int i = 0; i < 2; ++i) {
- std::string key = StringPrintf("key%d", i);
+ std::string key = base::StringPrintf("key%d", i);
ASSERT_EQ(net::OK, CreateEntry(key, &entry));
entry->Close();
}
@@ -2676,7 +2676,7 @@ TEST_F(DiskCacheBackendTest, ShaderCacheUpdateRankForExternalCacheHit) {
disk_cache::Entry* entry;
for (int i = 0; i < 2; ++i) {
- std::string key = StringPrintf("key%d", i);
+ std::string key = base::StringPrintf("key%d", i);
ASSERT_EQ(net::OK, CreateEntry(key, &entry));
entry->Close();
}

Powered by Google App Engine
This is Rietveld 408576698