| Index: content/browser/loader/resource_dispatcher_host_impl.h
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
|
| index 48d975520e28b9e28efb987dfe47bf9519c6f080..1ff1269b6e45d175556a79f62c202dff894d8286 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h
|
| @@ -54,6 +54,7 @@ class ShareableFileReference;
|
| }
|
|
|
| namespace content {
|
| +class NavigationURLLoaderCore;
|
| class ResourceContext;
|
| class ResourceDispatcherHostDelegate;
|
| class ResourceMessageDelegate;
|
| @@ -249,20 +250,14 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // elsewhere.
|
| void FinishedWithResourcesForRequest(const net::URLRequest* request_);
|
|
|
| - // PlzNavigate
|
| - // Called by NavigationRequest to start a navigation request in the node
|
| - // identified by |frame_node_id|.
|
| - void StartNavigationRequest(const NavigationRequestInfo& info,
|
| + // PlzNavigate: Begins a request for NavigationURLLoader. |loader| is the
|
| + // loader to attach to the leaf resource handler. Returns true if the request
|
| + // was started.
|
| + bool BeginNavigationRequest(ResourceContext* resource_context,
|
| + int64 frame_tree_node_id,
|
| + const NavigationRequestInfo& info,
|
| scoped_refptr<ResourceRequestBody> request_body,
|
| - int64 navigation_request_id,
|
| - int64 frame_node_id);
|
| -
|
| - // PlzNavigate
|
| - // Called by NavigationRequest to cancel a navigation request with the
|
| - // provided |navigation_request_id| in the node identified by
|
| - // |frame_node_id|.
|
| - void CancelNavigationRequest(int64 navigation_request_id,
|
| - int64 frame_node_id);
|
| + NavigationURLLoaderCore* loader);
|
|
|
| private:
|
| friend class ResourceDispatcherHostTest;
|
|
|