OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // A client specific QuicSession subclass. | 5 // A client specific QuicSession subclass. |
6 | 6 |
7 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ | 7 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ |
8 #define NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ | 8 #define NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 10 matching lines...) Expand all Loading... |
21 class QuicServerId; | 21 class QuicServerId; |
22 class ReliableQuicStream; | 22 class ReliableQuicStream; |
23 | 23 |
24 namespace tools { | 24 namespace tools { |
25 | 25 |
26 class QuicClientSession : public QuicClientSessionBase { | 26 class QuicClientSession : public QuicClientSessionBase { |
27 public: | 27 public: |
28 QuicClientSession(const QuicServerId& server_id, | 28 QuicClientSession(const QuicServerId& server_id, |
29 const QuicConfig& config, | 29 const QuicConfig& config, |
30 QuicConnection* connection, | 30 QuicConnection* connection, |
| 31 uint32 max_flow_control_receive_window_bytes, |
31 QuicCryptoClientConfig* crypto_config); | 32 QuicCryptoClientConfig* crypto_config); |
32 virtual ~QuicClientSession(); | 33 virtual ~QuicClientSession(); |
33 | 34 |
34 // QuicClientSessionBase methods: | 35 // QuicClientSessionBase methods: |
35 virtual void OnProofValid( | 36 virtual void OnProofValid( |
36 const QuicCryptoClientConfig::CachedState& cached) OVERRIDE; | 37 const QuicCryptoClientConfig::CachedState& cached) OVERRIDE; |
37 virtual void OnProofVerifyDetailsAvailable( | 38 virtual void OnProofVerifyDetailsAvailable( |
38 const ProofVerifyDetails& verify_details) OVERRIDE; | 39 const ProofVerifyDetails& verify_details) OVERRIDE; |
39 | 40 |
40 // QuicSession methods: | 41 // QuicSession methods: |
(...skipping 16 matching lines...) Expand all Loading... |
57 private: | 58 private: |
58 QuicCryptoClientStream crypto_stream_; | 59 QuicCryptoClientStream crypto_stream_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); | 61 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace tools | 64 } // namespace tools |
64 } // namespace net | 65 } // namespace net |
65 | 66 |
66 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ | 67 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ |
OLD | NEW |