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

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

Issue 2905007: Add the URLRequest's priority to the net-log.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address cbentzel comments Created 10 years, 5 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 | « no previous file | net/url_request/url_request.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
===================================================================
--- chrome/browser/net/passive_log_collector_unittest.cc (revision 52046)
+++ chrome/browser/net/passive_log_collector_unittest.cc (working copy)
@@ -27,7 +27,7 @@
base::TimeTicks(),
NetLog::Source(kSourceType, source_id),
NetLog::PHASE_BEGIN,
- new URLRequestStartEventParameters(GURL(url), "GET", 0));
+ new URLRequestStartEventParameters(GURL(url), "GET", 0, net::LOW));
}
PassiveLogCollector::Entry MakeStartLogEntry(int source_id) {
@@ -52,7 +52,8 @@
collector->OnAddEntry(NetLog::TYPE_URL_REQUEST_START_JOB, base::TimeTicks(),
NetLog::Source(NetLog::SOURCE_URL_REQUEST, id),
NetLog::PHASE_BEGIN, new URLRequestStartEventParameters(
- GURL(StringPrintf("http://req%d", id)), "GET", 0));
+ GURL(StringPrintf("http://req%d", id)), "GET", 0,
+ net::LOW));
}
void AddEndURLRequestEntries(PassiveLogCollector* collector, uint32 id) {
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698