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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

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
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index f050151ddfcbd6d90a00ab62efac0711e6d8ed51..680e89505633e4c4c1b04c2849cc5b478db17d1e 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -59,6 +59,8 @@ public:
// Called from ServiceWorkerClients.
virtual void getClients(WebServiceWorkerClientsCallbacks*) = 0;
virtual void openWindow(const WebURL&, WebServiceWorkerClientCallbacks*) = 0;
+ virtual void setCachedMetadata(const WebURL&, const char*, size_t) = 0;
+ virtual void clearCachedMetadata(const WebURL&) = 0;
virtual WebURL scope() const = 0;
virtual WebServiceWorkerCacheStorage* cacheStorage() const = 0;

Powered by Google App Engine
This is Rietveld 408576698