| 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_CORE_QUIC_PACKETS_H_ |
| 6 #define NET_QUIC_QUIC_PROTOCOL_H_ | 6 #define NET_QUIC_CORE_QUIC_PACKETS_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" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // Deletes and clears all the frames and the packet from serialized packet. | 253 // Deletes and clears all the frames and the packet from serialized packet. |
| 254 NET_EXPORT_PRIVATE void ClearSerializedPacket( | 254 NET_EXPORT_PRIVATE void ClearSerializedPacket( |
| 255 SerializedPacket* serialized_packet); | 255 SerializedPacket* serialized_packet); |
| 256 | 256 |
| 257 // Allocates a new char[] of size |packet.encrypted_length| and copies in | 257 // Allocates a new char[] of size |packet.encrypted_length| and copies in |
| 258 // |packet.encrypted_buffer|. | 258 // |packet.encrypted_buffer|. |
| 259 NET_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); | 259 NET_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); |
| 260 | 260 |
| 261 } // namespace net | 261 } // namespace net |
| 262 | 262 |
| 263 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 263 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_ |
| OLD | NEW |