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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: incorporated falken's comment Created 4 years, 2 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 ec5cc41848679d5ca3928d85942a9f1a0c93e5b7..57a79114a70e6cac28ad6afef24127bec5c10fb3 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -2116,6 +2116,17 @@ EVENT_TYPE(SERVICE_WORKER_START_WORKER)
// }
EVENT_TYPE(SERVICE_WORKER_FETCH_EVENT)
+// The start/end of dispatching a navigation preload request to the server.
+// The BEGIN phase contains the following parameters:
+// {
+// "url": The URL that was being requested.
+// }
+// The END phase contains the following parameters:
+// {
+// "net_error": The net error code for the failure, if any.
+// }
+EVENT_TYPE(SERVICE_WORKER_NAVIGATION_PRELOAD)
+
// ------------------------------------------------------------------------
// Global events
// ------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698