diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 00:25:14 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 00:25:14 +0000 |
commit | 372b2291dfd99e95389ef85e611cf521a2be7237 (patch) | |
tree | 5894a0a30b8e481110059356b0f8531553c0c27f /net | |
parent | 63d04b0ac3ac4c289715896f37aa974eb795a595 (diff) | |
download | chromium_src-372b2291dfd99e95389ef85e611cf521a2be7237.zip chromium_src-372b2291dfd99e95389ef85e611cf521a2be7237.tar.gz chromium_src-372b2291dfd99e95389ef85e611cf521a2be7237.tar.bz2 |
More late binding cleanup
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/668106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40692 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_network_transaction.cc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc index 170ec05..2e4f911 100644 --- a/net/http/http_network_transaction.cc +++ b/net/http/http_network_transaction.cc @@ -1233,19 +1233,9 @@ void HttpNetworkTransaction::LogTCPConnectedMetrics( void HttpNetworkTransaction::LogIOErrorMetrics( const ClientSocketHandle& handle) { - static const bool use_late_binding_histogram = - !FieldTrial::MakeName("", "SocketLateBinding").empty(); - UMA_HISTOGRAM_ENUMERATION("Net.IOError_SocketReuseType", handle.reuse_type(), ClientSocketHandle::NUM_TYPES); - if (use_late_binding_histogram) { - UMA_HISTOGRAM_ENUMERATION( - FieldTrial::MakeName("Net.IOError_SocketReuseType", - "SocketLateBinding"), - handle.reuse_type(), ClientSocketHandle::NUM_TYPES); - } - switch (handle.reuse_type()) { case ClientSocketHandle::UNUSED: break; @@ -1254,26 +1244,12 @@ void HttpNetworkTransaction::LogIOErrorMetrics( "Net.SocketIdleTimeOnIOError2_UnusedSocket", handle.idle_time(), base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(6), 100); - if (use_late_binding_histogram) { - UMA_HISTOGRAM_CUSTOM_TIMES( - FieldTrial::MakeName("Net.SocketIdleTimeOnIOError2_UnusedSocket", - "SocketLateBinding").data(), - handle.idle_time(), base::TimeDelta::FromMilliseconds(1), - base::TimeDelta::FromMinutes(6), 100); - } break; case ClientSocketHandle::REUSED_IDLE: UMA_HISTOGRAM_CUSTOM_TIMES( "Net.SocketIdleTimeOnIOError2_ReusedSocket", handle.idle_time(), base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(6), 100); - if (use_late_binding_histogram) { - UMA_HISTOGRAM_CUSTOM_TIMES( - FieldTrial::MakeName("Net.SocketIdleTimeOnIOError2_ReusedSocket", - "SocketLateBinding").data(), - handle.idle_time(), base::TimeDelta::FromMilliseconds(1), - base::TimeDelta::FromMinutes(6), 100); - } break; default: NOTREACHED(); @@ -1290,18 +1266,6 @@ void HttpNetworkTransaction::LogTransactionConnectedMetrics() const { base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), 100); - static const bool use_late_binding_histogram = - !FieldTrial::MakeName("", "SocketLateBinding").empty(); - - if (use_late_binding_histogram) { - UMA_HISTOGRAM_CUSTOM_TIMES( - FieldTrial::MakeName("Net.Transaction_Connected_Under_10", - "SocketLateBinding").data(), - total_duration, - base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), - 100); - } - if (!reused_socket_) { UMA_HISTOGRAM_CLIPPED_TIMES( "Net.Transaction_Connected_New", |