diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 04:42:46 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 04:42:46 +0000 |
commit | ab0729e5248416ed16a4f33d3af4a47b0bfc80ad (patch) | |
tree | 163a84a54ececb191b7a5168c9f48195ac83625c /chrome/browser/browser_main.cc | |
parent | 39fe32a42c9eab376aeefd1ae845085d8828c3ec (diff) | |
download | chromium_src-ab0729e5248416ed16a4f33d3af4a47b0bfc80ad.zip chromium_src-ab0729e5248416ed16a4f33d3af4a47b0bfc80ad.tar.gz chromium_src-ab0729e5248416ed16a4f33d3af4a47b0bfc80ad.tar.bz2 |
Relanding:
Implement a readsize throttle within the TCP socket.
Add a fieldgroup trial for testing it.
BUG=none
TEST=none
Original Review URL: http://codereview.chromium.org/173259
Review URL: http://codereview.chromium.org/243038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 306ec10..1138ade 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -682,6 +682,10 @@ int BrowserMain(const MainFunctionParams& parameters) { if (socket_late_binding_trial->group() == late_binding_group) net::EnableLateBindingOfSockets(true); + scoped_refptr<FieldTrial> trial = new FieldTrial("AsyncSlowStart", 100); + trial->AppendGroup("_AsyncSlowStart", 50); + trial->AppendGroup("_AsyncSlowStart_off", 50); + #if defined(OS_WIN) // Init common control sex. INITCOMMONCONTROLSEX config; |