| Index: content/browser/loader/navigation_url_loader_impl_core.h
|
| diff --git a/content/browser/loader/navigation_url_loader_impl_core.h b/content/browser/loader/navigation_url_loader_impl_core.h
|
| index 67a2925dc19de4b731fece9cabafcf42112dc0a1..46c46c207558bed99de5b31c47975c0dbd1aece2 100644
|
| --- a/content/browser/loader/navigation_url_loader_impl_core.h
|
| +++ b/content/browser/loader/navigation_url_loader_impl_core.h
|
| @@ -13,20 +13,21 @@
|
|
|
| namespace net {
|
| class URLRequest;
|
| struct RedirectInfo;
|
| }
|
|
|
| namespace content {
|
|
|
| class FrameTreeNode;
|
| class NavigationResourceHandler;
|
| +class NavigationData;
|
| class ResourceContext;
|
| class ResourceHandler;
|
| class ResourceRequestBody;
|
| class ServiceWorkerNavigationHandleCore;
|
| class StreamHandle;
|
| struct ResourceResponse;
|
|
|
| // The IO-thread counterpart to the NavigationURLLoaderImpl. It lives on the IO
|
| // thread and is owned by the UI-thread NavigationURLLoaderImpl.
|
| // NavigationURLLoaderImplCore interacts with the ResourceDispatcherHost stack
|
| @@ -53,21 +54,22 @@ class NavigationURLLoaderImplCore {
|
| void set_resource_handler(NavigationResourceHandler* resource_handler) {
|
| resource_handler_ = resource_handler;
|
| }
|
|
|
| // Notifies |loader_| on the UI thread that the request was redirected.
|
| void NotifyRequestRedirected(const net::RedirectInfo& redirect_info,
|
| ResourceResponse* response);
|
|
|
| // Notifies |loader_| on the UI thread that the response started.
|
| void NotifyResponseStarted(ResourceResponse* response,
|
| - std::unique_ptr<StreamHandle> body);
|
| + std::unique_ptr<StreamHandle> body,
|
| + std::unique_ptr<NavigationData> navigation_data);
|
|
|
| // Notifies |loader_| on the UI thread that the request failed.
|
| void NotifyRequestFailed(bool in_cache, int net_error);
|
|
|
| private:
|
| base::WeakPtr<NavigationURLLoaderImpl> loader_;
|
| NavigationResourceHandler* resource_handler_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderImplCore);
|
| };
|
|
|