| Index: content/child/resource_dispatcher.h
|
| diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
|
| index 420638058e31dad757d70219c6cd95c05b69f167..b3b25cc0dfd560bb9f97b5e0cd234b5d362b7b39 100644
|
| --- a/content/child/resource_dispatcher.h
|
| +++ b/content/child/resource_dispatcher.h
|
| @@ -22,6 +22,7 @@
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/time/time.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/common/resource_priority_change_info.h"
|
| #include "content/common/url_loader.mojom.h"
|
| #include "content/public/common/resource_type.h"
|
| #include "ipc/ipc_listener.h"
|
| @@ -199,6 +200,12 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| // May return NULL if the request as been canceled from the client side.
|
| PendingRequestInfo* GetPendingRequestInfo(int request_id);
|
|
|
| + // Priority change requests often come in batches, so store them in a
|
| + // queue and send them as a batch.
|
| + std::vector<ResourcePriorityChangeInfo> queued_priority_requests;
|
| +
|
| + void DispatchPendingPriorityRequests();
|
| +
|
| // Follows redirect, if any, for the given request.
|
| void FollowPendingRedirect(int request_id, PendingRequestInfo* request_info);
|
|
|
|
|