Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Unified Diff: content/browser/appcache/appcache_backend_impl.h

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Address review comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/appcache/appcache_backend_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_backend_impl.h
diff --git a/content/browser/appcache/appcache_backend_impl.h b/content/browser/appcache/appcache_backend_impl.h
index e7f9b84eb288987c13a37f758f7c0273c6a08d51..b2aad33c00048426dfcae880f351ee7e110898a5 100644
--- a/content/browser/appcache/appcache_backend_impl.h
+++ b/content/browser/appcache/appcache_backend_impl.h
@@ -66,6 +66,12 @@ class CONTENT_EXPORT AppCacheBackendImpl {
std::unique_ptr<AppCacheHost> TransferHostOut(int host_id);
void TransferHostIn(int new_host_id, std::unique_ptr<AppCacheHost> host);
+ // PlzNaviate
+ // 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);
+
private:
AppCacheServiceImpl* service_;
AppCacheFrontend* frontend_;
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/appcache/appcache_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698