Chromium Code Reviews| Index: net/quic/quic_client_session.h |
| diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h |
| index 11d3121e7271f5d05a0533af3a4a03c964547f5e..cfc743edadd3864258c753640675a7b913500277 100644 |
| --- a/net/quic/quic_client_session.h |
| +++ b/net/quic/quic_client_session.h |
| @@ -7,6 +7,7 @@ |
| #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ |
| #define NET_QUIC_QUIC_CLIENT_SESSION_H_ |
| +#include "base/hash_tables.h" |
| #include "net/base/completion_callback.h" |
| #include "net/quic/quic_crypto_client_stream.h" |
| #include "net/quic/quic_reliable_client_stream.h" |
| @@ -23,6 +24,7 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { |
| // QuicSession methods: |
| virtual QuicReliableClientStream* CreateOutgoingReliableStream() OVERRIDE; |
|
willchan no longer on Chromium
2012/11/21 22:50:03
Y'know, if we wanted to leverage it, we could use
Ryan Hamilton
2012/11/21 23:06:35
I don't think that would make sense, because the s
|
| virtual QuicCryptoClientStream* GetCryptoStream() OVERRIDE; |
| + virtual void CloseStream(QuicStreamId stream_id) OVERRIDE; |
| virtual void OnCryptoHandshakeComplete(QuicErrorCode error) OVERRIDE; |
| // Perform a crypto handshake with the server. |
| @@ -34,7 +36,9 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession { |
| QuicStreamId id) OVERRIDE; |
| private: |
| + typedef base::hash_map<QuicStreamId, ReliableQuicStream*> StreamMap; |
| QuicCryptoClientStream crypto_stream_; |
| + StreamMap streams_; |
| CompletionCallback callback_; |