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/ServiceWorkerGlobalScopeProxy.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 | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | Source/web/ServiceWorkerGlobalScopeProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.h b/Source/web/ServiceWorkerGlobalScopeProxy.h
index b1e4475b9fb54a2fdfe14660365117ee99c0c8bb..3ef53c727935d974cf85d6439308394ee82cb548 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -44,6 +44,7 @@ namespace blink {
class WebEmbeddedWorkerImpl;
class WebServiceWorkerContextClient;
+class WebServiceWorkerRequest;
// This class is created and destructed on the main thread, but live most
// of its time as a resident of the worker thread.
@@ -68,7 +69,9 @@ public:
// WebServiceWorkerContextProxy overrides:
virtual void dispatchActivateEvent(int) OVERRIDE;
virtual void dispatchInstallEvent(int) OVERRIDE;
+ // TODO(horo): remove this.
virtual void dispatchFetchEvent(int) OVERRIDE;
+ virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) OVERRIDE;
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) OVERRIDE;
virtual void dispatchSyncEvent(int) OVERRIDE;
« no previous file with comments | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | Source/web/ServiceWorkerGlobalScopeProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698