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 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ | 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ |
6 #define NET_QUIC_QUIC_PROTOCOL_H_ | 6 #define NET_QUIC_QUIC_PROTOCOL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <limits> | 11 #include <limits> |
12 #include <list> | 12 #include <list> |
13 #include <map> | 13 #include <map> |
14 #include <memory> | 14 #include <memory> |
15 #include <ostream> | 15 #include <ostream> |
16 #include <set> | 16 #include <set> |
17 #include <string> | 17 #include <string> |
18 #include <utility> | 18 #include <utility> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/macros.h" | 22 #include "base/macros.h" |
23 #include "base/memory/ref_counted.h" | 23 #include "base/memory/ref_counted.h" |
24 #include "base/strings/string_piece.h" | 24 #include "base/strings/string_piece.h" |
25 #include "net/base/int128.h" | 25 #include "net/base/int128.h" |
26 #include "net/base/iovec.h" | 26 #include "net/base/iovec.h" |
27 #include "net/base/ip_endpoint.h" | 27 #include "net/base/ip_endpoint.h" |
28 #include "net/base/net_export.h" | 28 #include "net/base/net_export.h" |
29 #include "net/quic/interval_set.h" | 29 #include "net/quic/core/interval_set.h" |
30 #include "net/quic/quic_bandwidth.h" | 30 #include "net/quic/core/quic_bandwidth.h" |
31 #include "net/quic/quic_time.h" | 31 #include "net/quic/core/quic_time.h" |
32 #include "net/quic/quic_types.h" | 32 #include "net/quic/core/quic_types.h" |
33 | 33 |
34 namespace net { | 34 namespace net { |
35 | 35 |
36 class QuicPacket; | 36 class QuicPacket; |
37 struct QuicPacketHeader; | 37 struct QuicPacketHeader; |
38 class QuicAckListenerInterface; | 38 class QuicAckListenerInterface; |
39 | 39 |
40 typedef uint64_t QuicConnectionId; | 40 typedef uint64_t QuicConnectionId; |
41 typedef uint32_t QuicStreamId; | 41 typedef uint32_t QuicStreamId; |
42 typedef uint64_t QuicStreamOffset; | 42 typedef uint64_t QuicStreamOffset; |
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1506 : iov(iov), iov_count(iov_count), total_length(total_length) {} | 1506 : iov(iov), iov_count(iov_count), total_length(total_length) {} |
1507 | 1507 |
1508 const struct iovec* iov; | 1508 const struct iovec* iov; |
1509 const int iov_count; | 1509 const int iov_count; |
1510 const size_t total_length; | 1510 const size_t total_length; |
1511 }; | 1511 }; |
1512 | 1512 |
1513 } // namespace net | 1513 } // namespace net |
1514 | 1514 |
1515 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 1515 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |