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

Unified Diff: chrome/browser/net/passive_log_collector_unittest.cc

Issue 7004007: iwyu: Include stringprintf.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 2. Created 9 years, 7 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 | « chrome/browser/net/load_timing_observer_unittest.cc ('k') | chrome/browser/net/predictor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/passive_log_collector_unittest.cc
diff --git a/chrome/browser/net/passive_log_collector_unittest.cc b/chrome/browser/net/passive_log_collector_unittest.cc
index 91f238fba6ae076c6b2aa49184dbe01e82603541..08a97df5d8e1e3e0db20a8f0fdd7b77c615d23bc 100644
--- a/chrome/browser/net/passive_log_collector_unittest.cc
+++ b/chrome/browser/net/passive_log_collector_unittest.cc
@@ -6,7 +6,7 @@
#include "base/compiler_specific.h"
#include "base/format_macros.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "net/url_request/url_request_netlog_params.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -32,8 +32,8 @@ ChromeNetLog::Entry MakeStartLogEntryWithURL(int source_id,
}
ChromeNetLog::Entry MakeStartLogEntry(int source_id) {
- return MakeStartLogEntryWithURL(source_id,
- StringPrintf("http://req%d", source_id));
+ return MakeStartLogEntryWithURL(
+ source_id, base::StringPrintf("http://req%d", source_id));
}
ChromeNetLog::Entry MakeEndLogEntry(int source_id) {
@@ -142,7 +142,7 @@ TEST(RequestTrackerTest, GraveyardBounded) {
for (size_t i = 0; i < RequestTracker::kMaxGraveyardSize; ++i) {
size_t req_number = i + RequestTracker::kMaxGraveyardSize;
- std::string url = StringPrintf("http://req%" PRIuS "/", req_number);
+ std::string url = base::StringPrintf("http://req%" PRIuS "/", req_number);
EXPECT_EQ(url, recent[i].GetURL());
}
}
« no previous file with comments | « chrome/browser/net/load_timing_observer_unittest.cc ('k') | chrome/browser/net/predictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698