| 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 1603c280735a9b77b36f06393c672f43d05632af..48d975520e28b9e28efb987dfe47bf9519c6f080 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h
|
| @@ -227,7 +227,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
|
|
| // Must be called after the ResourceRequestInfo has been created
|
| // and associated with the request. If |payload| is set to a non-empty value,
|
| - // the value will be sent to the old resource handler instead of cancelling
|
| + // the value will be sent to the old resource handler instead of canceling
|
| // it, except on HTTP errors.
|
| scoped_ptr<ResourceHandler> MaybeInterceptAsStream(
|
| net::URLRequest* request,
|
| @@ -249,11 +249,20 @@ 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 NavigationRequest(const NavigationRequestInfo& info,
|
| - scoped_refptr<ResourceRequestBody> request_body,
|
| - int64 frame_node_id);
|
| + void StartNavigationRequest(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);
|
|
|
| private:
|
| friend class ResourceDispatcherHostTest;
|
|
|