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. This class owns the underlying | 5 // A client specific QuicSession subclass. This class owns the underlying |
6 // QuicConnection and QuicConnectionHelper objects. The connection stores | 6 // QuicConnection and QuicConnectionHelper objects. The connection stores |
7 // a non-owning pointer to the helper so this session needs to ensure that | 7 // a non-owning pointer to the helper so this session needs to ensure that |
8 // the helper outlives the connection. | 8 // the helper outlives the connection. |
9 | 9 |
10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ | 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ |
11 #define NET_QUIC_QUIC_CLIENT_SESSION_H_ | 11 #define NET_QUIC_QUIC_CLIENT_SESSION_H_ |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
16 #include "net/base/completion_callback.h" | 16 #include "net/base/completion_callback.h" |
17 #include "net/quic/quic_connection_logger.h" | 17 #include "net/quic/quic_connection_logger.h" |
18 #include "net/quic/quic_crypto_client_stream.h" | 18 #include "net/quic/quic_crypto_client_stream.h" |
19 #include "net/quic/quic_reliable_client_stream.h" | 19 #include "net/quic/quic_reliable_client_stream.h" |
20 #include "net/quic/quic_session.h" | 20 #include "net/quic/quic_session.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 class DatagramClientSocket; | 24 class DatagramClientSocket; |
25 class QuicConnectionHelper; | 25 class QuicConnectionHelper; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 size_t num_total_streams_; | 89 size_t num_total_streams_; |
90 BoundNetLog net_log_; | 90 BoundNetLog net_log_; |
91 QuicConnectionLogger logger_; | 91 QuicConnectionLogger logger_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); | 93 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace net | 96 } // namespace net |
97 | 97 |
98 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ | 98 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ |
OLD | NEW |