| Index: content/browser/loader/navigation_url_loader_impl.h
|
| diff --git a/content/browser/loader/navigation_url_loader_impl.h b/content/browser/loader/navigation_url_loader_impl.h
|
| index 51131cc12d0b482c4e567c4bb2c426e6c4f9d504..d3d2d38e713a9898735d6c3c5c561e23450198a9 100644
|
| --- a/content/browser/loader/navigation_url_loader_impl.h
|
| +++ b/content/browser/loader/navigation_url_loader_impl.h
|
| @@ -13,20 +13,21 @@
|
| #include "base/time/time.h"
|
| #include "content/browser/loader/navigation_url_loader.h"
|
|
|
| namespace net {
|
| struct RedirectInfo;
|
| }
|
|
|
| namespace content {
|
|
|
| class NavigationURLLoaderImplCore;
|
| +class NavigationData;
|
| class ServiceWorkerNavigationHandle;
|
| class StreamHandle;
|
| struct ResourceResponse;
|
|
|
| class NavigationURLLoaderImpl : public NavigationURLLoader {
|
| public:
|
| // The caller is responsible for ensuring that |delegate| outlives the loader.
|
| NavigationURLLoaderImpl(BrowserContext* browser_context,
|
| std::unique_ptr<NavigationRequestInfo> request_info,
|
| ServiceWorkerNavigationHandle* service_worker_handle,
|
| @@ -39,21 +40,22 @@ class NavigationURLLoaderImpl : public NavigationURLLoader {
|
|
|
| private:
|
| friend class NavigationURLLoaderImplCore;
|
|
|
| // Notifies the delegate of a redirect.
|
| void NotifyRequestRedirected(const net::RedirectInfo& redirect_info,
|
| const scoped_refptr<ResourceResponse>& response);
|
|
|
| // Notifies the delegate that the response has started.
|
| void NotifyResponseStarted(const scoped_refptr<ResourceResponse>& response,
|
| - std::unique_ptr<StreamHandle> body);
|
| + std::unique_ptr<StreamHandle> body,
|
| + std::unique_ptr<NavigationData> navigation_data);
|
|
|
| // Notifies the delegate the request failed to return a response.
|
| void NotifyRequestFailed(bool in_cache, int net_error);
|
|
|
| // Notifies the delegate the begin navigation request was handled and a
|
| // potential first network request is about to be made.
|
| void NotifyRequestStarted(base::TimeTicks timestamp);
|
|
|
| NavigationURLLoaderDelegate* delegate_;
|
|
|
|
|