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, | |
32 QuicCryptoClientConfig* crypto_config); | 31 QuicCryptoClientConfig* crypto_config); |
33 virtual ~QuicClientSession(); | 32 virtual ~QuicClientSession(); |
34 | 33 |
35 // QuicClientSessionBase methods: | 34 // QuicClientSessionBase methods: |
36 virtual void OnProofValid( | 35 virtual void OnProofValid( |
37 const QuicCryptoClientConfig::CachedState& cached) OVERRIDE; | 36 const QuicCryptoClientConfig::CachedState& cached) OVERRIDE; |
38 virtual void OnProofVerifyDetailsAvailable( | 37 virtual void OnProofVerifyDetailsAvailable( |
39 const ProofVerifyDetails& verify_details) OVERRIDE; | 38 const ProofVerifyDetails& verify_details) OVERRIDE; |
40 | 39 |
41 // QuicSession methods: | 40 // QuicSession methods: |
(...skipping 16 matching lines...) Expand all Loading... |
58 private: | 57 private: |
59 QuicCryptoClientStream crypto_stream_; | 58 QuicCryptoClientStream crypto_stream_; |
60 | 59 |
61 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); | 60 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); |
62 }; | 61 }; |
63 | 62 |
64 } // namespace tools | 63 } // namespace tools |
65 } // namespace net | 64 } // namespace net |
66 | 65 |
67 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ | 66 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ |
OLD | NEW |