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 QuicSession, which demuxes a single connection to individual streams. | 5 // A QuicSession, which demuxes a single connection to individual streams. |
6 | 6 |
7 #ifndef NET_QUIC_QUIC_SESSION_H_ | 7 #ifndef NET_QUIC_QUIC_SESSION_H_ |
8 #define NET_QUIC_QUIC_SESSION_H_ | 8 #define NET_QUIC_QUIC_SESSION_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <map> | 12 #include <map> |
13 #include <memory> | 13 #include <memory> |
14 #include <string> | 14 #include <string> |
15 #include <unordered_map> | 15 #include <unordered_map> |
16 #include <unordered_set> | 16 #include <unordered_set> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "base/compiler_specific.h" | 19 #include "base/compiler_specific.h" |
20 #include "base/containers/small_map.h" | 20 #include "base/containers/small_map.h" |
21 #include "base/macros.h" | 21 #include "base/macros.h" |
22 #include "base/strings/string_piece.h" | 22 #include "base/strings/string_piece.h" |
23 #include "net/base/ip_endpoint.h" | 23 #include "net/base/ip_endpoint.h" |
| 24 #include "net/base/net_export.h" |
24 #include "net/quic/core/quic_connection.h" | 25 #include "net/quic/core/quic_connection.h" |
25 #include "net/quic/core/quic_crypto_stream.h" | 26 #include "net/quic/core/quic_crypto_stream.h" |
26 #include "net/quic/core/quic_packet_creator.h" | 27 #include "net/quic/core/quic_packet_creator.h" |
27 #include "net/quic/core/quic_protocol.h" | 28 #include "net/quic/core/quic_protocol.h" |
28 #include "net/quic/core/quic_write_blocked_list.h" | 29 #include "net/quic/core/quic_write_blocked_list.h" |
29 #include "net/quic/core/reliable_quic_stream.h" | 30 #include "net/quic/core/reliable_quic_stream.h" |
30 | 31 |
31 namespace net { | 32 namespace net { |
32 | 33 |
33 class QuicCryptoStream; | 34 class QuicCryptoStream; |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // The stream id which was last popped in OnCanWrite, or 0, if not under the | 408 // The stream id which was last popped in OnCanWrite, or 0, if not under the |
408 // call stack of OnCanWrite. | 409 // call stack of OnCanWrite. |
409 QuicStreamId currently_writing_stream_id_; | 410 QuicStreamId currently_writing_stream_id_; |
410 | 411 |
411 DISALLOW_COPY_AND_ASSIGN(QuicSession); | 412 DISALLOW_COPY_AND_ASSIGN(QuicSession); |
412 }; | 413 }; |
413 | 414 |
414 } // namespace net | 415 } // namespace net |
415 | 416 |
416 #endif // NET_QUIC_QUIC_SESSION_H_ | 417 #endif // NET_QUIC_QUIC_SESSION_H_ |
OLD | NEW |