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

Unified Diff: net/tools/dump_cache/url_utilities_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/url_to_filename_encoder_unittest.cc ('k') | net/tools/hresolv/hresolv.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/url_utilities_unittest.cc
diff --git a/net/tools/dump_cache/url_utilities_unittest.cc b/net/tools/dump_cache/url_utilities_unittest.cc
index 3e3f12203f8aad92b12a9302a8dd151d29dfbb56..0f9cb06c5b5d2a59ea48c4b61f7ec734c15b58ac 100644
--- a/net/tools/dump_cache/url_utilities_unittest.cc
+++ b/net/tools/dump_cache/url_utilities_unittest.cc
@@ -7,6 +7,7 @@
#include <string>
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
@@ -76,10 +77,10 @@ TEST(UrlUtilitiesTest, Unescape) {
"%3E%2E%3F%2F"));
for (int c = 0; c < 256; ++c) {
std::string unescaped_char(1, implicit_cast<unsigned char>(c));
- std::string escaped_char = StringPrintf("%%%02X", c);
+ std::string escaped_char = base::StringPrintf("%%%02X", c);
EXPECT_EQ(unescaped_char, UrlUtilities::Unescape(escaped_char))
<< "escaped_char = " << escaped_char;
- escaped_char = StringPrintf("%%%02x", c);
+ escaped_char = base::StringPrintf("%%%02x", c);
EXPECT_EQ(unescaped_char, UrlUtilities::Unescape(escaped_char))
<< "escaped_char = " << escaped_char;
}
« no previous file with comments | « net/tools/dump_cache/url_to_filename_encoder_unittest.cc ('k') | net/tools/hresolv/hresolv.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698