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> |
| 11 |
10 #include <map> | 12 #include <map> |
11 #include <string> | 13 #include <string> |
12 #include <vector> | 14 #include <vector> |
13 | 15 |
14 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
15 #include "base/containers/hash_tables.h" | 17 #include "base/containers/hash_tables.h" |
| 18 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
17 #include "base/strings/string_piece.h" | 20 #include "base/strings/string_piece.h" |
18 #include "net/base/ip_endpoint.h" | 21 #include "net/base/ip_endpoint.h" |
19 #include "net/quic/quic_connection.h" | 22 #include "net/quic/quic_connection.h" |
20 #include "net/quic/quic_crypto_stream.h" | 23 #include "net/quic/quic_crypto_stream.h" |
21 #include "net/quic/quic_packet_creator.h" | 24 #include "net/quic/quic_packet_creator.h" |
22 #include "net/quic/quic_protocol.h" | 25 #include "net/quic/quic_protocol.h" |
23 #include "net/quic/quic_write_blocked_list.h" | 26 #include "net/quic/quic_write_blocked_list.h" |
24 #include "net/quic/reliable_quic_stream.h" | 27 #include "net/quic/reliable_quic_stream.h" |
25 | 28 |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 369 |
367 // Used for connection-level flow control. | 370 // Used for connection-level flow control. |
368 QuicFlowController flow_controller_; | 371 QuicFlowController flow_controller_; |
369 | 372 |
370 DISALLOW_COPY_AND_ASSIGN(QuicSession); | 373 DISALLOW_COPY_AND_ASSIGN(QuicSession); |
371 }; | 374 }; |
372 | 375 |
373 } // namespace net | 376 } // namespace net |
374 | 377 |
375 #endif // NET_QUIC_QUIC_SESSION_H_ | 378 #endif // NET_QUIC_QUIC_SESSION_H_ |
OLD | NEW |