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/net_export.h" | 23 #include "net/base/net_export.h" |
24 #include "net/quic/core/quic_connection.h" | 24 #include "net/quic/core/quic_connection.h" |
25 #include "net/quic/core/quic_crypto_stream.h" | 25 #include "net/quic/core/quic_crypto_stream.h" |
26 #include "net/quic/core/quic_packet_creator.h" | 26 #include "net/quic/core/quic_packet_creator.h" |
27 #include "net/quic/core/quic_protocol.h" | 27 #include "net/quic/core/quic_packets.h" |
28 #include "net/quic/core/quic_stream.h" | 28 #include "net/quic/core/quic_stream.h" |
29 #include "net/quic/core/quic_write_blocked_list.h" | 29 #include "net/quic/core/quic_write_blocked_list.h" |
30 | 30 |
31 namespace net { | 31 namespace net { |
32 | 32 |
33 class QuicCryptoStream; | 33 class QuicCryptoStream; |
34 class QuicFlowController; | 34 class QuicFlowController; |
35 class QuicStream; | 35 class QuicStream; |
36 | 36 |
37 namespace test { | 37 namespace test { |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // The stream id which was last popped in OnCanWrite, or 0, if not under the | 439 // The stream id which was last popped in OnCanWrite, or 0, if not under the |
440 // call stack of OnCanWrite. | 440 // call stack of OnCanWrite. |
441 QuicStreamId currently_writing_stream_id_; | 441 QuicStreamId currently_writing_stream_id_; |
442 | 442 |
443 DISALLOW_COPY_AND_ASSIGN(QuicSession); | 443 DISALLOW_COPY_AND_ASSIGN(QuicSession); |
444 }; | 444 }; |
445 | 445 |
446 } // namespace net | 446 } // namespace net |
447 | 447 |
448 #endif // NET_QUIC_QUIC_SESSION_H_ | 448 #endif // NET_QUIC_QUIC_SESSION_H_ |
OLD | NEW |