Index: net/http/http_stream_factory_impl_job.cc |
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc |
index 7fb8f17dfa93aea8cf81b3b1488f18d04412042e..2e1864c19ae776113dfc4d85b6b730a6aebc1436 100644 |
--- a/net/http/http_stream_factory_impl_job.cc |
+++ b/net/http/http_stream_factory_impl_job.cc |
@@ -44,10 +44,12 @@ namespace net { |
// Returns parameters associated with the start of a HTTP stream job. |
Value* NetLogHttpStreamJobCallback(const GURL* original_url, |
const GURL* url, |
+ RequestPriority priority, |
NetLog::LogLevel /* log_level */) { |
DictionaryValue* dict = new DictionaryValue(); |
dict->SetString("original_url", original_url->GetOrigin().spec()); |
dict->SetString("url", url->GetOrigin().spec()); |
+ dict->SetInteger("priority", priority); |
return dict; |
} |
@@ -576,7 +578,8 @@ int HttpStreamFactoryImpl::Job::DoStart() { |
net_log_.BeginEvent(NetLog::TYPE_HTTP_STREAM_JOB, |
base::Bind(&NetLogHttpStreamJobCallback, |
- &request_info_.url, &origin_url_)); |
+ &request_info_.url, &origin_url_, |
+ request_info_.priority)); |
// Don't connect to restricted ports. |
bool is_port_allowed = IsPortAllowedByDefault(port); |