diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 19:02:38 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 19:02:38 +0000 |
commit | 616925a61dcb63847f31809a1061d85fac9b57e6 (patch) | |
tree | 4b077aea53dd99027aec6e9a23dd84a9d7a6fcc6 /net/spdy | |
parent | b13e83a45074b6ce821440ef480a6cc6d075731c (diff) | |
download | chromium_src-616925a61dcb63847f31809a1061d85fac9b57e6.zip chromium_src-616925a61dcb63847f31809a1061d85fac9b57e6.tar.gz chromium_src-616925a61dcb63847f31809a1061d85fac9b57e6.tar.bz2 |
Remove connection failed histograms.
BUG=none - not used and blocks refactoring for bug 30357
TEST=unit tests
Review URL: http://codereview.chromium.org/661318
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_session.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc index e0eb9c5..b7887a4 100644 --- a/net/spdy/spdy_session.cc +++ b/net/spdy/spdy_session.cc @@ -455,12 +455,12 @@ void SpdySession::OnTCPConnect(int result) { // socket (or have an error trying to do so). DCHECK(!connection_->socket() || !connection_->is_reused()); - UpdateConnectionTypeHistograms(CONNECTION_SPDY, result >= 0); - if (result != net::OK) { DCHECK_LT(result, 0); CloseSessionOnError(static_cast<net::Error>(result)); return; + } else { + UpdateConnectionTypeHistograms(CONNECTION_SPDY); } AdjustSocketBufferSizes(connection_->socket()); |