Index: content/browser/appcache/appcache_dispatcher_host.h |
diff --git a/content/browser/appcache/appcache_dispatcher_host.h b/content/browser/appcache/appcache_dispatcher_host.h |
index 9b882c8a97e706e4bf6723e15ff1b5dd35dae5b6..2238ee55dc5025695ce36d113ff2fa6afd6db0e0 100644 |
--- a/content/browser/appcache/appcache_dispatcher_host.h |
+++ b/content/browser/appcache/appcache_dispatcher_host.h |
@@ -38,6 +38,12 @@ class AppCacheDispatcherHost : public BrowserMessageFilter { |
~AppCacheDispatcherHost() override; |
private: |
+ // PlzNavigate: |
+ // The AppCacheHost is precreated by the AppCacheNavigationHandleCore class |
+ // when a navigation is initiated. We register the host with the backend in |
+ // this function and ignore registrations for this host id from the renderer. |
+ void RegisterPrecreatedHost(std::unique_ptr<AppCacheHost> host); |
+ |
// IPC message handlers |
void OnRegisterHost(int host_id); |
void OnUnregisterHost(int host_id); |
@@ -62,7 +68,6 @@ class AppCacheDispatcherHost : public BrowserMessageFilter { |
void StartUpdateCallback(bool result, void* param); |
void SwapCacheCallback(bool result, void* param); |
- |
scoped_refptr<ChromeAppCacheService> appcache_service_; |
AppCacheFrontendProxy frontend_proxy_; |
AppCacheBackendImpl backend_impl_; |