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

Unified Diff: Source/modules/serviceworkers/RespondWithObserver.h

Issue 580993002: Revert of [ServivceWorker] Treat rejecting respondWith as a Network Error (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/modules/serviceworkers/RespondWithObserver.h
diff --git a/Source/modules/serviceworkers/RespondWithObserver.h b/Source/modules/serviceworkers/RespondWithObserver.h
index 372a97b115519cfa62a4cf54846472986c8c9b9b..a7b9f29fcfa08fdf02ac26cf41d51106cc5e71c1 100644
--- a/Source/modules/serviceworkers/RespondWithObserver.h
+++ b/Source/modules/serviceworkers/RespondWithObserver.h
@@ -42,6 +42,10 @@
RespondWithObserver(ExecutionContext*, int eventID);
+ // Sends a response back to the client. The null response means to fallback
+ // to native.
+ void sendResponse(Response*);
+
int m_eventID;
enum State { Initial, Pending, Done };
« no previous file with comments | « LayoutTests/http/tests/serviceworker/fetch-event.html ('k') | Source/modules/serviceworkers/RespondWithObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698