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

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

Issue 973683003: CL generated with data from dead-code analysis using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Change_PrrSender_TimeUntilSend_87535917
Patch Set: Created 5 years, 9 months 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_packet_creator.h ('k') | net/quic/quic_sent_packet_manager.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_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const size_t kFecGroupSize = 1; 102 const size_t kFecGroupSize = 1;
103 103
104 // Signifies that the QuicPacket will contain version of the protocol. 104 // Signifies that the QuicPacket will contain version of the protocol.
105 const bool kIncludeVersion = true; 105 const bool kIncludeVersion = true;
106 106
107 // Index of the first byte in a QUIC packet which is used in hash calculation. 107 // Index of the first byte in a QUIC packet which is used in hash calculation.
108 const size_t kStartOfHashData = 0; 108 const size_t kStartOfHashData = 0;
109 109
110 // Limit on the delta between stream IDs. 110 // Limit on the delta between stream IDs.
111 const QuicStreamId kMaxStreamIdDelta = 200; 111 const QuicStreamId kMaxStreamIdDelta = 200;
112 // Limit on the delta between header IDs.
113 const QuicHeaderId kMaxHeaderIdDelta = 200;
114 112
115 // Reserved ID for the crypto stream. 113 // Reserved ID for the crypto stream.
116 const QuicStreamId kCryptoStreamId = 1; 114 const QuicStreamId kCryptoStreamId = 1;
117 115
118 // Reserved ID for the headers stream. 116 // Reserved ID for the headers stream.
119 const QuicStreamId kHeadersStreamId = 3; 117 const QuicStreamId kHeadersStreamId = 3;
120 118
121 // Maximum delayed ack time, in ms. 119 // Maximum delayed ack time, in ms.
122 const int64 kMaxDelayedAckTimeMs = 25; 120 const int64 kMaxDelayedAckTimeMs = 25;
123 121
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 bool in_flight; 1036 bool in_flight;
1039 // True if the packet can never be acked, so it can be removed. 1037 // True if the packet can never be acked, so it can be removed.
1040 bool is_unackable; 1038 bool is_unackable;
1041 // True if the packet is an FEC packet. 1039 // True if the packet is an FEC packet.
1042 bool is_fec_packet; 1040 bool is_fec_packet;
1043 }; 1041 };
1044 1042
1045 } // namespace net 1043 } // namespace net
1046 1044
1047 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1045 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_creator.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698