summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_websocket_stream.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 02:21:41 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 02:21:41 +0000
commitd5a94433ff8d7324510adae18ab1b9c9ba1394d5 (patch)
treed88e1d7108c12a87d433c9ded99be60a198f431c /net/spdy/spdy_websocket_stream.h
parenta7266a9dc36aa68143d670eb8646f9d67237fa61 (diff)
downloadchromium_src-d5a94433ff8d7324510adae18ab1b9c9ba1394d5.zip
chromium_src-d5a94433ff8d7324510adae18ab1b9c9ba1394d5.tar.gz
chromium_src-d5a94433ff8d7324510adae18ab1b9c9ba1394d5.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.
BUG=111708 Review URL: https://chromiumcodereview.appspot.com/10448083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_websocket_stream.h')
-rw-r--r--net/spdy/spdy_websocket_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/spdy/spdy_websocket_stream.h b/net/spdy/spdy_websocket_stream.h
index d8d85da..4a208b9 100644
--- a/net/spdy/spdy_websocket_stream.h
+++ b/net/spdy/spdy_websocket_stream.h
@@ -84,6 +84,8 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
virtual void set_chunk_callback(ChunkCallback* callback) OVERRIDE;
private:
+ friend class SpdyWebSocketStreamSpdy2Test;
+ friend class SpdyWebSocketStreamSpdy3Test;
FRIEND_TEST_ALL_PREFIXES(SpdyWebSocketStreamSpdy2Test, Basic);
FRIEND_TEST_ALL_PREFIXES(SpdyWebSocketStreamSpdy3Test, Basic);