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

Unified Diff: net/tools/dump_cache/url_to_filename_encoder_unittest.cc

Issue 3390026: net: Append base:: in the StringPrintf calls. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix include order Created 10 years, 3 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
« no previous file with comments | « net/tools/dump_cache/dump_cache.cc ('k') | net/tools/dump_cache/url_utilities_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/url_to_filename_encoder_unittest.cc
diff --git a/net/tools/dump_cache/url_to_filename_encoder_unittest.cc b/net/tools/dump_cache/url_to_filename_encoder_unittest.cc
index de0992e92ab9474e72fe03db014612ab949ed997..2e09e0b693ec41308edf3427565d823a208a46c2 100644
--- a/net/tools/dump_cache/url_to_filename_encoder_unittest.cc
+++ b/net/tools/dump_cache/url_to_filename_encoder_unittest.cc
@@ -6,8 +6,10 @@
#include <string>
#include <vector>
+
#include "base/string_piece.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPiece;
@@ -211,7 +213,7 @@ TEST_F(UrlToFilenameEncoderTest, EncodeUrlCorrectly) {
TEST_F(UrlToFilenameEncoderTest, UnescapeUrlsBeforeEncode) {
for (int i = 0; i < 128; ++i) {
string unescaped(1, static_cast<char>(i));
- string escaped = StringPrintf("%%%02X", i);
+ string escaped = base::StringPrintf("%%%02X", i);
ValidateEncodeSame(unescaped, escaped);
}
« no previous file with comments | « net/tools/dump_cache/dump_cache.cc ('k') | net/tools/dump_cache/url_utilities_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698