| Index: content/child/web_url_loader_impl.cc
|
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
|
| index 35646d2402ed4ce801161a6e3a2a755c545a9e82..0614121037dbffb266526e7f7d132de4b21ababb 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -232,6 +232,8 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
|
| void SetDefersLoading(bool value);
|
| void DidChangePriority(WebURLRequest::Priority new_priority,
|
| int intra_priority_value);
|
| + bool AttachThreadedDataReceiver(
|
| + blink::WebThreadedDataReceiver* threaded_data_receiver);
|
| void Start(const WebURLRequest& request,
|
| SyncLoadResponse* sync_load_response);
|
|
|
| @@ -309,6 +311,14 @@ void WebURLLoaderImpl::Context::DidChangePriority(
|
| ConvertWebKitPriorityToNetPriority(new_priority), intra_priority_value);
|
| }
|
|
|
| +bool WebURLLoaderImpl::Context::AttachThreadedDataReceiver(
|
| + blink::WebThreadedDataReceiver* threaded_data_receiver) {
|
| + if (bridge_)
|
| + return bridge_->AttachThreadedDataReceiver(threaded_data_receiver);
|
| +
|
| + return false;
|
| +}
|
| +
|
| void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
|
| SyncLoadResponse* sync_load_response) {
|
| DCHECK(!bridge_.get());
|
| @@ -882,4 +892,9 @@ void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority,
|
| context_->DidChangePriority(new_priority, intra_priority_value);
|
| }
|
|
|
| +bool WebURLLoaderImpl::attachThreadedDataReceiver(
|
| + blink::WebThreadedDataReceiver* threaded_data_receiver) {
|
| + return context_->AttachThreadedDataReceiver(threaded_data_receiver);
|
| +}
|
| +
|
| } // namespace content
|
|
|