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

Unified Diff: net/quic/quic_chromium_client_session.cc

Issue 1410243007: Add a new method to QuicSpdySession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106714904
Patch Set: Created 5 years, 1 month 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 | « net/quic/quic_chromium_client_session.h ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_client_session.cc
diff --git a/net/quic/quic_chromium_client_session.cc b/net/quic/quic_chromium_client_session.cc
index b7ac6d1fff4d8e8c0810a01a7093c5fa3b18e493..1f46fe7d0388e30bcfcd452abe38d51ef7eee305 100644
--- a/net/quic/quic_chromium_client_session.cc
+++ b/net/quic/quic_chromium_client_session.cc
@@ -349,6 +349,13 @@ QuicChromiumClientSession::~QuicChromiumClientSession() {
static_cast<base::HistogramBase::Sample>(stats.max_sequence_reordering));
}
+void QuicChromiumClientSession::OnHeadersHeadOfLineBlocking(
+ QuicTime::Delta delta) {
+ UMA_HISTOGRAM_TIMES(
+ "Net.QuicSession.HeadersHOLBlockedTime",
+ base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()));
+}
+
void QuicChromiumClientSession::OnStreamFrame(const QuicStreamFrame& frame) {
// Record total number of stream frames.
UMA_HISTOGRAM_COUNTS("Net.QuicNumStreamFramesInPacket", 1);
« no previous file with comments | « net/quic/quic_chromium_client_session.h ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698