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

Unified Diff: net/log/net_log_event_type_list.h

Issue 1967683003: service worker: Wait for request body blobs to finish construction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 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
Index: net/log/net_log_event_type_list.h
diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h
index e699e0c035014914d39a7cc0fdbb7a456250ed0f..6ff6461ffef65e1affece8e5ddbffd4eee9739b1 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -2031,6 +2031,19 @@ EVENT_TYPE(SERVICE_WORKER_ERROR_KILLED_WITH_BLOB)
// finishes responding with a stream.
EVENT_TYPE(SERVICE_WORKER_ERROR_KILLED_WITH_STREAM)
+// This event is emitted when a request to be forwarded to a Service Worker has
+// request body blobs, and it may be necessary to wait for them to finish
+// construction. The END phase event parameter is:
+// {
+// "success": Whether the request blobs finished construction successfully.
+// }
+EVENT_TYPE(SERVICE_WORKER_WAITING_FOR_REQUEST_BODY_BLOB)
+
+// This event is emitted when a request failed to be forwarded to a Service
+// Worker, because it had a request body with a blob that failed to be
+// constructed.
+EVENT_TYPE(SERVICE_WORKER_ERROR_REQUEST_BODY_BLOB_FAILED)
+
// ------------------------------------------------------------------------
// Global events
// ------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698