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

Unified Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.h

Issue 571843003: [ServivceWorker] Treat rejecting respondWith as a Network Error (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated yhirano's comment Created 6 years, 3 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/web/ServiceWorkerGlobalScopeClientImpl.h
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.h b/Source/web/ServiceWorkerGlobalScopeClientImpl.h
index cf637e5a6acee9f192f9cb4d4ecd944ca1365fde..26c10def8a6f8a43dd0dc3412ffb293a80dd6ff6 100644
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.h
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.h
@@ -38,6 +38,7 @@
namespace blink {
class WebServiceWorkerContextClient;
+class WebServiceWorkerResponse;
class WebURL;
class ServiceWorkerGlobalScopeClientImpl FINAL : public NoBaseWillBeGarbageCollectedFinalized<ServiceWorkerGlobalScopeClientImpl>, public ServiceWorkerGlobalScopeClient {
@@ -52,7 +53,8 @@ public:
virtual void didHandleActivateEvent(int eventID, WebServiceWorkerEventResult) OVERRIDE;
virtual void didHandleInstallEvent(int installEventID, WebServiceWorkerEventResult) OVERRIDE;
- virtual void didHandleFetchEvent(int fetchEventID, Response*) OVERRIDE;
+ virtual void didHandleFetchEvent(int fetchEventID) OVERRIDE;
+ virtual void didHandleFetchEvent(int fetchEventID, const WebServiceWorkerResponse&) OVERRIDE;
virtual void didHandleSyncEvent(int syncEventID) OVERRIDE;
virtual void postMessageToClient(int clientID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698