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

Unified Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 929953002: CachedMetadata support for ServiceWorker script. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated tkent's comment Created 5 years, 10 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
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/web/WebServiceWorkerContextClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 7c815c8b08ce4f0db8993d145d4979195e76f2fc..f37142a2ab5641c364946ef20b2ad43d38ee6762 100644
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -58,6 +58,16 @@ void ServiceWorkerGlobalScopeClientImpl::openWindow(const WebURL& url, WebServic
m_client.openWindow(url, callbacks);
}
+void ServiceWorkerGlobalScopeClientImpl::setCachedMetadata(const WebURL& url, const char* data, size_t size)
+{
+ m_client.setCachedMetadata(url, data, size);
+}
+
+void ServiceWorkerGlobalScopeClientImpl::clearCachedMetadata(const WebURL& url)
+{
+ m_client.clearCachedMetadata(url);
+}
+
WebURL ServiceWorkerGlobalScopeClientImpl::scope() const
{
return m_client.scope();
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/web/WebServiceWorkerContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698