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 <limits> | 8 #include <limits> |
9 #include <list> | 9 #include <list> |
10 #include <memory> | 10 #include <memory> |
11 #include <ostream> | 11 #include <ostream> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
20 #include "net/base/int128.h" | 20 #include "net/base/int128.h" |
21 #include "net/base/iovec.h" | 21 #include "net/base/iovec.h" |
22 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
| 23 #include "net/quic/core/frames/quic_frame.h" |
23 #include "net/quic/core/quic_ack_listener_interface.h" | 24 #include "net/quic/core/quic_ack_listener_interface.h" |
24 #include "net/quic/core/quic_bandwidth.h" | 25 #include "net/quic/core/quic_bandwidth.h" |
25 #include "net/quic/core/quic_constants.h" | 26 #include "net/quic/core/quic_constants.h" |
26 #include "net/quic/core/quic_error_codes.h" | 27 #include "net/quic/core/quic_error_codes.h" |
27 #include "net/quic/core/quic_frames.h" | |
28 #include "net/quic/core/quic_time.h" | 28 #include "net/quic/core/quic_time.h" |
29 #include "net/quic/core/quic_types.h" | 29 #include "net/quic/core/quic_types.h" |
30 #include "net/quic/core/quic_versions.h" | 30 #include "net/quic/core/quic_versions.h" |
31 #include "net/quic/platform/api/quic_socket_address.h" | 31 #include "net/quic/platform/api/quic_socket_address.h" |
32 | 32 |
33 namespace net { | 33 namespace net { |
34 | 34 |
35 class QuicPacket; | 35 class QuicPacket; |
36 struct QuicPacketHeader; | 36 struct QuicPacketHeader; |
37 | 37 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 NET_EXPORT_PRIVATE void ClearSerializedPacket( | 255 NET_EXPORT_PRIVATE void ClearSerializedPacket( |
256 SerializedPacket* serialized_packet); | 256 SerializedPacket* serialized_packet); |
257 | 257 |
258 // Allocates a new char[] of size |packet.encrypted_length| and copies in | 258 // Allocates a new char[] of size |packet.encrypted_length| and copies in |
259 // |packet.encrypted_buffer|. | 259 // |packet.encrypted_buffer|. |
260 NET_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); | 260 NET_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); |
261 | 261 |
262 } // namespace net | 262 } // namespace net |
263 | 263 |
264 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 264 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |