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

Unified Diff: public/web/WebServiceWorkerContextProxy.h

Issue 304053003: ServiceWorker: support Request.{url,method,origin,headers} [blink] (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « public/platform/WebServiceWorkerRequest.h ('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 fb3c7a8c065ed16505bfa29efab9ba96204b26d1..a445beb9512ceb7866eee78330da40c8585ca5f8 100644
--- a/public/web/WebServiceWorkerContextProxy.h
+++ b/public/web/WebServiceWorkerContextProxy.h
@@ -35,6 +35,7 @@
namespace blink {
+class WebServiceWorkerRequest;
class WebString;
// A proxy interface to talk to the worker's GlobalScope implementation.
@@ -46,8 +47,9 @@ public:
virtual void dispatchActivateEvent(int eventID) = 0;
// FIXME: This needs to pass the active service worker info.
virtual void dispatchInstallEvent(int installEventID) = 0;
- // FIXME: This needs to pass the fetch request info.
+ // TODO(horo): Remove this.
virtual void dispatchFetchEvent(int fetchEventID) = 0;
+ virtual void dispatchFetchEvent(int fetchEventID, const WebServiceWorkerRequest& webRequest) = 0;
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray& channels) = 0;
« no previous file with comments | « public/platform/WebServiceWorkerRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698