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

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

Issue 2512063003: Move QuicIoVector into its own header file. No behavior change. (Closed)
Patch Set: Created 4 years, 1 month 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_iovector.h ('k') | net/quic/core/quic_protocol.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 // Accumulates frames for the next packet until more frames no longer fit or 5 // Accumulates frames for the next packet until more frames no longer fit or
6 // it's time to create a packet from them. If multipath enabled, only creates 6 // it's time to create a packet from them. If multipath enabled, only creates
7 // packets on one path at the same time. Currently, next packet number is 7 // packets on one path at the same time. Currently, next packet number is
8 // tracked per-path. 8 // tracked per-path.
9 9
10 #ifndef NET_QUIC_QUIC_PACKET_CREATOR_H_ 10 #ifndef NET_QUIC_QUIC_PACKET_CREATOR_H_
11 #define NET_QUIC_QUIC_PACKET_CREATOR_H_ 11 #define NET_QUIC_QUIC_PACKET_CREATOR_H_
12 12
13 #include <stddef.h> 13 #include <stddef.h>
14 14
15 #include <memory> 15 #include <memory>
16 #include <string> 16 #include <string>
17 #include <unordered_map> 17 #include <unordered_map>
18 #include <utility> 18 #include <utility>
19 #include <vector> 19 #include <vector>
20 20
21 #include "base/macros.h" 21 #include "base/macros.h"
22 #include "base/strings/string_piece.h" 22 #include "base/strings/string_piece.h"
23 #include "net/base/net_export.h" 23 #include "net/base/net_export.h"
24 #include "net/quic/core/quic_framer.h" 24 #include "net/quic/core/quic_framer.h"
25 #include "net/quic/core/quic_iovector.h"
25 #include "net/quic/core/quic_protocol.h" 26 #include "net/quic/core/quic_protocol.h"
26 27
27 namespace net { 28 namespace net {
28 namespace test { 29 namespace test {
29 class QuicPacketCreatorPeer; 30 class QuicPacketCreatorPeer;
30 } 31 }
31 32
32 class NET_EXPORT_PRIVATE QuicPacketCreator { 33 class NET_EXPORT_PRIVATE QuicPacketCreator {
33 public: 34 public:
34 // A delegate interface for further processing serialized packet. 35 // A delegate interface for further processing serialized packet.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 309
309 // Map mapping path_id to last sent packet number on the path. 310 // Map mapping path_id to last sent packet number on the path.
310 std::unordered_map<QuicPathId, QuicPacketNumber> multipath_packet_number_; 311 std::unordered_map<QuicPathId, QuicPacketNumber> multipath_packet_number_;
311 312
312 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); 313 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator);
313 }; 314 };
314 315
315 } // namespace net 316 } // namespace net
316 317
317 #endif // NET_QUIC_QUIC_PACKET_CREATOR_H_ 318 #endif // NET_QUIC_QUIC_PACKET_CREATOR_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_iovector.h ('k') | net/quic/core/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698