Index: content/browser/appcache/appcache_host.h |
diff --git a/content/browser/appcache/appcache_host.h b/content/browser/appcache/appcache_host.h |
index c5103c2db7fe4a5e894df3c3832989aec0cea05d..e41ba962e3277a0f905c8965299616b7ef2c41ff 100644 |
--- a/content/browser/appcache/appcache_host.h |
+++ b/content/browser/appcache/appcache_host.h |
@@ -163,9 +163,17 @@ class CONTENT_EXPORT AppCacheHost |
} |
int host_id() const { return host_id_; } |
+ |
AppCacheServiceImpl* service() const { return service_; } |
AppCacheStorage* storage() const { return storage_; } |
AppCacheFrontend* frontend() const { return frontend_; } |
+ |
+ // PlzNavigate: |
+ // When a navigation commits, we need to switch the AppCacheFrontend and |
+ // possibly the AppCacheServiceImpl instance we are registered with. |
+ void FrameNavigationCommitted(AppCacheFrontend* frontend, |
+ AppCacheServiceImpl* service); |
+ |
AppCache* associated_cache() const { return associated_cache_.get(); } |
void enable_cache_selection(bool enable) { |