Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: net/quic/core/quic_packets.h

Issue 2589983002: Create a QUIC wrapper around scoped_refptr. (Closed)
Patch Set: rm = nullptr Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_packet_generator.cc ('k') | net/quic/core/quic_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <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"
19 #include "base/strings/string_piece.h" 18 #include "base/strings/string_piece.h"
20 #include "net/base/int128.h" 19 #include "net/base/int128.h"
21 #include "net/base/iovec.h" 20 #include "net/base/iovec.h"
22 #include "net/quic/core/frames/quic_frame.h" 21 #include "net/quic/core/frames/quic_frame.h"
23 #include "net/quic/core/quic_ack_listener_interface.h" 22 #include "net/quic/core/quic_ack_listener_interface.h"
24 #include "net/quic/core/quic_bandwidth.h" 23 #include "net/quic/core/quic_bandwidth.h"
25 #include "net/quic/core/quic_constants.h" 24 #include "net/quic/core/quic_constants.h"
26 #include "net/quic/core/quic_error_codes.h" 25 #include "net/quic/core/quic_error_codes.h"
27 #include "net/quic/core/quic_time.h" 26 #include "net/quic/core/quic_time.h"
28 #include "net/quic/core/quic_types.h" 27 #include "net/quic/core/quic_types.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 QUIC_EXPORT_PRIVATE void ClearSerializedPacket( 254 QUIC_EXPORT_PRIVATE void ClearSerializedPacket(
256 SerializedPacket* serialized_packet); 255 SerializedPacket* serialized_packet);
257 256
258 // 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
259 // |packet.encrypted_buffer|. 258 // |packet.encrypted_buffer|.
260 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); 259 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet);
261 260
262 } // namespace net 261 } // namespace net
263 262
264 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_ 263 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_packet_generator.cc ('k') | net/quic/core/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698