summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 23:05:56 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 23:05:56 +0000
commit150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0 (patch)
treeb835ca8c4d991e513dc31461bfdef4a1586ef2e5 /net/socket
parentadea06580fdeed989187732f93bd7fc8b726ef0c (diff)
downloadchromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.zip
chromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.tar.gz
chromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.tar.bz2
Remove the AsyncSlowStart experiment
BUG=30144 TEST=none Review URL: http://codereview.chromium.org/491056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/tcp_client_socket_win.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index bfd1981..91a1212 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -6,7 +6,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/field_trial.h" // for SlowStart trial
#include "base/memory_debug.h"
#include "base/stats_counters.h"
#include "base/string_util.h"
@@ -150,9 +149,6 @@ class TCPClientSocketWin::Core : public base::RefCounted<Core> {
// Throttle the read size based on our current slow start state.
// Returns the throttled read size.
int ThrottleReadSize(int size) {
- if (!use_slow_start_throttle_)
- return size;
-
if (slow_start_throttle_ < kMaxSlowStartThrottle) {
size = std::min(size, slow_start_throttle_);
slow_start_throttle_ *= 2;
@@ -209,15 +205,9 @@ class TCPClientSocketWin::Core : public base::RefCounted<Core> {
static const int kMaxSlowStartThrottle = 32 * kInitialSlowStartThrottle;
int slow_start_throttle_;
- static bool use_slow_start_throttle_;
- static bool trial_initialized_;
-
DISALLOW_COPY_AND_ASSIGN(Core);
};
-bool TCPClientSocketWin::Core::use_slow_start_throttle_ = false;
-bool TCPClientSocketWin::Core::trial_initialized_ = false;
-
TCPClientSocketWin::Core::Core(
TCPClientSocketWin* socket)
: socket_(socket),
@@ -226,14 +216,6 @@ TCPClientSocketWin::Core::Core(
slow_start_throttle_(kInitialSlowStartThrottle) {
memset(&read_overlapped_, 0, sizeof(read_overlapped_));
memset(&write_overlapped_, 0, sizeof(write_overlapped_));
-
- // Initialize the AsyncSlowStart FieldTrial.
- if (!trial_initialized_) {
- trial_initialized_ = true;
- FieldTrial* trial = FieldTrialList::Find("AsyncSlowStart");
- if (trial && trial->group_name() == "_AsyncSlowStart")
- use_slow_start_throttle_ = true;
- }
}
TCPClientSocketWin::Core::~Core() {