Chromium Code Reviews| Index: content/browser/frame_host/navigation_handle_impl.h |
| diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h |
| index 668ba9b08fad4dbab5c84d944d862b25d27e1abb..b99a59fdfd62ba191217be3530a9ebb2066621d0 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.h |
| +++ b/content/browser/frame_host/navigation_handle_impl.h |
| @@ -32,6 +32,8 @@ struct FrameHostMsg_DidCommitProvisionalLoad_Params; |
| namespace content { |
| +class AppCacheNavigationHandle; |
| +class ChromeAppCacheService; |
| class NavigationUIData; |
| class NavigatorDelegate; |
| class ResourceRequestBodyImpl; |
| @@ -198,6 +200,12 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
| return service_worker_handle_.get(); |
| } |
| + // PlzNavigate |
| + void InitAppCacheHandle(ChromeAppCacheService* appcache_service); |
| + AppCacheNavigationHandle* appcache_handle() const { |
| + return appcache_handle_.get(); |
| + } |
| + |
| typedef base::Callback<void(NavigationThrottle::ThrottleCheckResult)> |
| ThrottleChecksFinishedCallback; |
| @@ -430,6 +438,12 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
| GURL searchable_form_url_; |
| std::string searchable_form_encoding_; |
| + // PlzNavigate |
| + // Manages the lifetime of a pre-created AppCacheHost until a browser side |
| + // navigation is ready to be committed, i.e we have a renderer process ready |
| + // to service the navigation request. |
| + std::unique_ptr<AppCacheNavigationHandle> appcache_handle_; |
|
michaeln
2016/12/03 00:58:58
maybe put this right next to the service_worker_ha
ananta
2016/12/03 14:55:04
Done.
|
| + |
| base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |