summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-22 22:52:26 +0000
committerrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-22 22:52:26 +0000
commit18d9d57319af0c889468b706f871bda704409918 (patch)
tree8c12dc57bf2a575750de6302b9863e15a00469e6 /net/spdy
parentb0347b3b2c44cfbe5c84e8ce9341e7d6c98f8b0f (diff)
downloadchromium_src-18d9d57319af0c889468b706f871bda704409918.zip
chromium_src-18d9d57319af0c889468b706f871bda704409918.tar.gz
chromium_src-18d9d57319af0c889468b706f871bda704409918.tar.bz2
SPDY - A histogram to track spdy versions negotiated by chrome.
BUG=143965 TEST=network unittests. In about:histograms, we would see Net.SpdyVersion histogram R=jar Review URL: https://chromiumcodereview.appspot.com/10860073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 4b72022..1f3250b 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -404,6 +404,7 @@ net::Error SpdySession::InitializeWithSocket(
buffered_spdy_framer_.reset(new BufferedSpdyFramer(version));
buffered_spdy_framer_->set_visitor(this);
SendInitialSettings();
+ UMA_HISTOGRAM_ENUMERATION("Net.SpdyVersion", protocol, kProtoMaximumVersion);
// Write out any data that we might have to send, such as the settings frame.
WriteSocketLater();