diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 10:02:28 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 10:02:28 +0000 |
commit | 4c4eac006bdbf1ad0f3e37db47c488f7c3ee4949 (patch) | |
tree | 16237134b9e037cf609ca4211b5c9efbcd8759ee /net/net.gyp | |
parent | 8ecd3aade85b825c8206735f16c23880023782db (diff) | |
download | chromium_src-4c4eac006bdbf1ad0f3e37db47c488f7c3ee4949.zip chromium_src-4c4eac006bdbf1ad0f3e37db47c488f7c3ee4949.tar.gz chromium_src-4c4eac006bdbf1ad0f3e37db47c488f7c3ee4949.tar.bz2 |
Implement websocket throttling.
Implement the client-side requirements in the spec.
4.1 Handshake
1. If the user agent already has a Web Socket connection to the
remote host (IP address) identified by /host/, even if known by
another name, wait until that connection has been established or
for that connection to have failed.
BUG=none
TEST=net_unittests passes
Review URL: http://codereview.chromium.org/342052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 23154cb..b80b2a9 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -431,6 +431,8 @@ 'socket/tcp_pinger.h', 'socket_stream/socket_stream.cc', 'socket_stream/socket_stream.h', + 'socket_stream/socket_stream_throttle.cc', + 'socket_stream/socket_stream_throttle.h', 'third_party/parseftp/ParseFTPList.cpp', 'third_party/parseftp/ParseFTPList.h', 'url_request/url_request.cc', @@ -479,6 +481,8 @@ 'url_request/view_cache_helper.h', 'websockets/websocket.cc', 'websockets/websocket.h', + 'websockets/websocket_throttle.cc', + 'websockets/websocket_throttle.h', ], 'export_dependent_settings': [ '../base/base.gyp:base', @@ -647,6 +651,7 @@ 'url_request/url_request_tracker_unittest.cc', 'url_request/url_request_unittest.cc', 'url_request/url_request_unittest.h', + 'websockets/websocket_throttle_unittest.cc', 'websockets/websocket_unittest.cc', ], 'conditions': [ |