| Index: content/child/resource_dispatcher.h
|
| diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
|
| index d85087d4557b8e18dae76c012d341667a98e1748..bb2a190857bcfde3955c0540db1190d0b2e3b9c9 100644
|
| --- a/content/child/resource_dispatcher.h
|
| +++ b/content/child/resource_dispatcher.h
|
| @@ -56,6 +56,12 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| // Cancels a request in the pending_requests_ list.
|
| void CancelPendingRequest(int request_id);
|
|
|
| + // Stop sending ACKs back for received data packets.
|
| + void StopSendingDataACKs(int request_id);
|
| +
|
| + // ACK a data packet.
|
| + void SendDataACK(int request_id);
|
| +
|
| IPC::Sender* message_sender() const {
|
| return message_sender_;
|
| }
|
| @@ -67,6 +73,10 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| void DidChangePriority(int routing_id, int request_id,
|
| net::RequestPriority new_priority);
|
|
|
| + // Construct a WebThreadedResourceProvider for passing back to Blink.
|
| + blink::WebThreadedResourceProvider* CreateThreadedResourceProvider(
|
| + int request_id);
|
| +
|
| // This does not take ownership of the delegate. It is expected that the
|
| // delegate have a longer lifetime than the ResourceDispatcher.
|
| void set_delegate(ResourceDispatcherDelegate* delegate) {
|
| @@ -113,6 +123,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| base::TimeTicks completion_time;
|
| linked_ptr<base::SharedMemory> buffer;
|
| int buffer_size;
|
| + bool send_data_acks;
|
| };
|
| typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;
|
|
|
|
|