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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2579933002: Add logging for ResourceScheduler events. (Closed)
Patch Set: Created 4 years 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 c7cb11d966733182c08210cc757ccced152c9b49..8d1fb0acdc4d1bdb2a7a4e91a16e95f8843c2c19 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -3022,3 +3022,16 @@ EVENT_TYPE(UPLOAD_DATA_STREAM_INIT)
// the end of file. Result < 0 means an error.>
// }
EVENT_TYPE(UPLOAD_DATA_STREAM_READ)
+
+// -----------------------------------------------------------------------------
+// ResourceScheduler related events
+// -----------------------------------------------------------------------------
+
+// The ResourceScheduler has blocked a request. No parameters.
+EVENT_TYPE(RESOURCE_SCHEDULER_REQUEST_BLOCKED)
+
+// The ResourceScheduler has started a previously blocked request. Parameters:
+// {
+// "trigger": <Trigger for evaluation that caused request start>
+// }
+EVENT_TYPE(RESOURCE_SCHEDULER_REQUEST_STARTED)

Powered by Google App Engine
This is Rietveld 408576698