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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2675343002: Server push cancellation: add NetLogs to track cache lookup transaction (Closed)
Patch Set: self review Created 3 years, 10 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 bfdc0945062aa2c0b5477ed72ecaf358b175a18c..acb36386f3162957e3188e4448136a60422b280b 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -1303,6 +1303,19 @@ EVENT_TYPE(BIDIRECTIONAL_STREAM_READY)
EVENT_TYPE(BIDIRECTIONAL_STREAM_FAILED)
// ------------------------------------------------------------------------
+// PUSH_LOOKUP_TRANSACTION
+// ------------------------------------------------------------------------
+
+// The start/end of a push lookup transaction for server push.
+// {
+// "source_dependency": <Source identifier for the server push lookp.
+// It can be a QUIC_SESSION or a HTTP2_SESSION>,
+// "pushed_url": <The url that has been pushed and looked up>,
+// }
+EVENT_TYPE(PUSH_LOOKUP_TRANSACTION)
+EVENT_TYPE(PUSH_FOUND_IN_CACHE)
Ryan Hamilton 2017/02/06 23:34:55 Can you add a comment for PUSH_FOUND_IN_CACHE?
+
+// ------------------------------------------------------------------------
// SpdySession
// ------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698