summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorbnc <bnc@chromium.org>2016-02-02 07:13:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-02 15:17:10 +0000
commit2ef73817d0b720387e07fffa00dd061087e3fc42 (patch)
treeb0a395d2605a599205047f6fdad325d8e8166c68 /net/spdy
parent2eab429ff3e155567d7cb224453ab07ca37a615e (diff)
downloadchromium_src-2ef73817d0b720387e07fffa00dd061087e3fc42.zip
chromium_src-2ef73817d0b720387e07fffa00dd061087e3fc42.tar.gz
chromium_src-2ef73817d0b720387e07fffa00dd061087e3fc42.tar.bz2
Add values to histogram enum SpdyProtocolVersion.
Copy new values from net/socket/next_proto.h enum NextProto to histogram enum SpdyProtocolVersion. Also correct number of buckets in SpdySession. Review URL: https://codereview.chromium.org/1647363003 Cr-Commit-Position: refs/heads/master@{#372946}
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index cf8c226..b01c23e 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -789,9 +789,8 @@ void SpdySession::InitializeWithSocket(
buffered_spdy_framer_->set_visitor(this);
buffered_spdy_framer_->set_debug_visitor(this);
UMA_HISTOGRAM_ENUMERATION(
- "Net.SpdyVersion2",
- protocol_ - kProtoSPDYHistogramOffset,
- kProtoSPDYMaximumVersion - kProtoSPDYMinimumVersion + 1);
+ "Net.SpdyVersion3", protocol_ - kProtoSPDYHistogramOffset,
+ kProtoSPDYMaximumVersion - kProtoSPDYHistogramOffset + 1);
net_log_.AddEvent(
NetLog::TYPE_HTTP2_SESSION_INITIALIZED,