diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-23 18:49:00 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-23 18:49:00 +0000 |
commit | 635345132365492acb8c601be50f6877316886c3 (patch) | |
tree | 97ad2e27a2d2fe46acd1c3e5202f7648f68d3c9b /net/quic/quic_client_session.h | |
parent | f65d8bea05badd0ac2a4efba0ba52b4e18722e15 (diff) | |
download | chromium_src-635345132365492acb8c601be50f6877316886c3.zip chromium_src-635345132365492acb8c601be50f6877316886c3.tar.gz chromium_src-635345132365492acb8c601be50f6877316886c3.tar.bz2 |
Make all QUIC streams owned by the session. Add a Visitor interface to the stream, so that consumer can be informed when the stream will be deleted.
Merge internal change: 40355686
TBR=jar@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11644084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_client_session.h')
-rw-r--r-- | net/quic/quic_client_session.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h index ad52106..2cd4456 100644 --- a/net/quic/quic_client_session.h +++ b/net/quic/quic_client_session.h @@ -51,15 +51,12 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { QuicStreamId id) OVERRIDE; private: - typedef base::hash_map<QuicStreamId, ReliableQuicStream*> StreamMap; - // A completion callback invoked when a read completes. void OnReadComplete(int result); base::WeakPtrFactory<QuicClientSession> weak_factory_; QuicCryptoClientStream crypto_stream_; scoped_ptr<QuicConnectionHelper> helper_; - StreamMap streams_; QuicStreamFactory* stream_factory_; scoped_refptr<IOBufferWithSize> read_buffer_; bool read_pending_; |