Index: net/http/http_stream_factory_impl_request.cc |
diff --git a/net/http/http_stream_factory_impl_request.cc b/net/http/http_stream_factory_impl_request.cc |
index e73a897a528b3516a604dc3637e358d773f7d4eb..57190ed72e729a05ed5bd1c5c767d5b4692d3a88 100644 |
--- a/net/http/http_stream_factory_impl_request.cc |
+++ b/net/http/http_stream_factory_impl_request.cc |
@@ -215,6 +215,15 @@ int HttpStreamFactoryImpl::Request::RestartTunnelWithProxyAuth( |
return bound_job_->RestartTunnelWithProxyAuth(credentials); |
} |
+void HttpStreamFactoryImpl::Request::SetPriority(RequestPriority priority) { |
+ for (std::set<HttpStreamFactoryImpl::Job*>::const_iterator it = jobs_.begin(); |
+ it != jobs_.end(); ++it) { |
+ (*it)->SetPriority(priority); |
+ } |
+ if (bound_job_) |
+ bound_job_->SetPriority(priority); |
+} |
+ |
LoadState HttpStreamFactoryImpl::Request::GetLoadState() const { |
if (bound_job_.get()) |
return bound_job_->GetLoadState(); |