diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 19:08:01 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 19:08:01 +0000 |
commit | f7fe31b2e7f5985792d8abc04ae360190f2b790b (patch) | |
tree | 07106c9676edfb24d569d5330bccc55a8b540ec9 /net/spdy/spdy_websocket_stream.h | |
parent | da44ca3b603807ffb10a54bcd3b6a9f2330f39b4 (diff) | |
download | chromium_src-f7fe31b2e7f5985792d8abc04ae360190f2b790b.zip chromium_src-f7fe31b2e7f5985792d8abc04ae360190f2b790b.tar.gz chromium_src-f7fe31b2e7f5985792d8abc04ae360190f2b790b.tar.bz2 |
Instead of enqueueing SPDY frames, instead enqueue SPDY streams that are ready to produce data. This allows us to lazily allocate a stream id.
The CL was reverted because of memory leaks. Both SpdyIOBufferProducers leaked the SpdyFrame they owned. This version of the CL fixes this defect.
Attempting to re-land 144649
Revert 144655 - Revert 144649
BUG=111708
TEST=
Review URL: https://chromiumcodereview.appspot.com/10803041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147692 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_websocket_stream.h')
-rw-r--r-- | net/spdy/spdy_websocket_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/spdy/spdy_websocket_stream.h b/net/spdy/spdy_websocket_stream.h index 4adb37c..900232b 100644 --- a/net/spdy/spdy_websocket_stream.h +++ b/net/spdy/spdy_websocket_stream.h @@ -82,6 +82,8 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream virtual void OnClose(int status) OVERRIDE; private: + friend class SpdyWebSocketStreamSpdy2Test; + friend class SpdyWebSocketStreamSpdy3Test; FRIEND_TEST_ALL_PREFIXES(SpdyWebSocketStreamSpdy2Test, Basic); FRIEND_TEST_ALL_PREFIXES(SpdyWebSocketStreamSpdy3Test, Basic); |