| 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_CORE_QUIC_PACKETS_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_PACKETS_H_ |
| 6 #define NET_QUIC_CORE_QUIC_PACKETS_H_ | 6 #define NET_QUIC_CORE_QUIC_PACKETS_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <limits> | 9 #include <limits> |
| 10 #include <list> | 10 #include <list> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <ostream> | 12 #include <ostream> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/logging.h" | |
| 18 #include "base/macros.h" | 17 #include "base/macros.h" |
| 19 #include "base/strings/string_piece.h" | 18 #include "base/strings/string_piece.h" |
| 20 #include "net/base/iovec.h" | 19 #include "net/base/iovec.h" |
| 21 #include "net/quic/core/frames/quic_frame.h" | 20 #include "net/quic/core/frames/quic_frame.h" |
| 22 #include "net/quic/core/quic_ack_listener_interface.h" | 21 #include "net/quic/core/quic_ack_listener_interface.h" |
| 23 #include "net/quic/core/quic_bandwidth.h" | 22 #include "net/quic/core/quic_bandwidth.h" |
| 24 #include "net/quic/core/quic_constants.h" | 23 #include "net/quic/core/quic_constants.h" |
| 25 #include "net/quic/core/quic_error_codes.h" | 24 #include "net/quic/core/quic_error_codes.h" |
| 26 #include "net/quic/core/quic_time.h" | 25 #include "net/quic/core/quic_time.h" |
| 27 #include "net/quic/core/quic_types.h" | 26 #include "net/quic/core/quic_types.h" |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 QUIC_EXPORT_PRIVATE void ClearSerializedPacket( | 253 QUIC_EXPORT_PRIVATE void ClearSerializedPacket( |
| 255 SerializedPacket* serialized_packet); | 254 SerializedPacket* serialized_packet); |
| 256 | 255 |
| 257 // Allocates a new char[] of size |packet.encrypted_length| and copies in | 256 // Allocates a new char[] of size |packet.encrypted_length| and copies in |
| 258 // |packet.encrypted_buffer|. | 257 // |packet.encrypted_buffer|. |
| 259 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); | 258 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); |
| 260 | 259 |
| 261 } // namespace net | 260 } // namespace net |
| 262 | 261 |
| 263 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_ | 262 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_ |
| OLD | NEW |