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; |