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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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/quic_network_transaction_unittest.cc ('k') | net/quic/quic_packet_creator.cc » ('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. Also provides packet creation of 6 // it's time to create a packet from them. Also provides packet creation of
7 // FEC packets based on previously created packets. If multipath enabled, only 7 // FEC packets based on previously created packets. If multipath enabled, only
8 // creates packets on one path at the same time. Currently, next packet number 8 // creates packets on one path at the same time. Currently, next packet number
9 // is tracked per-path. 9 // is tracked per-path.
10 10
11 #ifndef NET_QUIC_QUIC_PACKET_CREATOR_H_ 11 #ifndef NET_QUIC_QUIC_PACKET_CREATOR_H_
12 #define NET_QUIC_QUIC_PACKET_CREATOR_H_ 12 #define NET_QUIC_QUIC_PACKET_CREATOR_H_
13 13
14 #include <stddef.h>
15
14 #include <string> 16 #include <string>
15 #include <utility> 17 #include <utility>
16 #include <vector> 18 #include <vector>
17 19
20 #include "base/macros.h"
18 #include "base/memory/scoped_ptr.h" 21 #include "base/memory/scoped_ptr.h"
19 #include "base/strings/string_piece.h" 22 #include "base/strings/string_piece.h"
20 #include "net/quic/quic_fec_group.h" 23 #include "net/quic/quic_fec_group.h"
21 #include "net/quic/quic_framer.h" 24 #include "net/quic/quic_framer.h"
22 #include "net/quic/quic_protocol.h" 25 #include "net/quic/quic_protocol.h"
23 26
24 using base::hash_map; 27 using base::hash_map;
25 28
26 namespace net { 29 namespace net {
27 namespace test { 30 namespace test {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // The multiplication factor for FEC timeout based on RTT. 426 // The multiplication factor for FEC timeout based on RTT.
424 // TODO(rtenneti): Delete this code after the 0.25 RTT FEC experiment. 427 // TODO(rtenneti): Delete this code after the 0.25 RTT FEC experiment.
425 float rtt_multiplier_for_fec_timeout_; 428 float rtt_multiplier_for_fec_timeout_;
426 429
427 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); 430 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator);
428 }; 431 };
429 432
430 } // namespace net 433 } // namespace net
431 434
432 #endif // NET_QUIC_QUIC_PACKET_CREATOR_H_ 435 #endif // NET_QUIC_QUIC_PACKET_CREATOR_H_
OLDNEW
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698