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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h

Issue 2842123002: WorkerShadowFetchContext
Patch Set: . Created 3 years, 7 months 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
Index: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
index 1109a3a0f06491ca346395c838541dd9465fd64b..ddaeb5090b74b3fccd2146238d5d1917dfc69c6c 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
@@ -56,6 +56,12 @@ class CORE_EXPORT ApplicationCacheHost final
return new ApplicationCacheHost(loader);
}
+ void SetWebApplicationCacheHost(
+ std::unique_ptr<WebApplicationCacheHost> web_host) {
+ DCHECK(!host_);
+ host_ = std::move(web_host);
+ }
+
virtual ~ApplicationCacheHost();
void DetachFromDocumentLoader();

Powered by Google App Engine
This is Rietveld 408576698