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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2593243003: Add network quality change events to net log (Closed)
Patch Set: rebased Created 3 years, 11 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
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50e9a8491e7baabe81c3c7c08975dda2fb63911a..d3dd7d98e79ce38a16833abadc042e2cc802e214 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -3056,3 +3056,19 @@ EVENT_TYPE(UPLOAD_DATA_STREAM_READ)
// "trigger": <Trigger for evaluation that caused request start>
// }
EVENT_TYPE(RESOURCE_SCHEDULER_REQUEST_STARTED)
+
+// -----------------------------------------------------------------------------
+// Network Quality Estimator related events
+// -----------------------------------------------------------------------------
+
+// This event is emitted whenever NetworkQualityEstimator determines that the
+// quality of the network has changed.
+// parameters:
+// {
+// "http_rtt": <Current estimate of the HTTP RTT>,
+// "transport_rtt": <Current estimate of the transport RTT>,
+// "downstream_throughput": <Current estimate of the downstream throughput>,
+// "effective_connection_type": <Current estimate of the effective connection
+// type>,
+// }
+EVENT_TYPE(NETWORK_QUALITY_CHANGED)
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698