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

Unified Diff: public/web/WebServiceWorkerContextProxy.h

Issue 811793002: ServiceWorker: Expose registration within ServiceWorkerGlobalScope [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebServiceWorkerContextProxy.h
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h
index 291309219309600f00d06cb1609c4a10a67039d7..053cf0de5a0f00bd73021e70e21561f46d5642df 100644
--- a/public/web/WebServiceWorkerContextProxy.h
+++ b/public/web/WebServiceWorkerContextProxy.h
@@ -39,6 +39,7 @@ namespace blink {
struct WebCircularGeofencingRegion;
struct WebCrossOriginServiceWorkerClient;
struct WebNotificationData;
+class WebServiceWorkerRegistration;
class WebServiceWorkerRequest;
class WebString;
@@ -48,6 +49,7 @@ class WebServiceWorkerContextProxy {
public:
virtual ~WebServiceWorkerContextProxy() { }
+ virtual void setRegistration(WebServiceWorkerRegistration*) = 0;
virtual void dispatchActivateEvent(int eventID) = 0;
// FIXME: This needs to pass the active service worker info.
virtual void dispatchInstallEvent(int installEventID) = 0;
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698