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

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

Issue 1431363002: Add a data structure QuicMultipathTransmissionsMap which is not in use now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106859834
Patch Set: Created 5 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/quic_multipath_transmissions_map_test.cc ('k') | no next file » | 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 <stdint.h> 9 #include <stdint.h>
10 #include <limits> 10 #include <limits>
(...skipping 23 matching lines...) Expand all
34 34
35 namespace net { 35 namespace net {
36 36
37 class QuicPacket; 37 class QuicPacket;
38 struct QuicPacketHeader; 38 struct QuicPacketHeader;
39 39
40 typedef uint64 QuicConnectionId; 40 typedef uint64 QuicConnectionId;
41 typedef uint32 QuicStreamId; 41 typedef uint32 QuicStreamId;
42 typedef uint64 QuicStreamOffset; 42 typedef uint64 QuicStreamOffset;
43 typedef uint64 QuicPacketNumber; 43 typedef uint64 QuicPacketNumber;
44 typedef uint8 QuicPathId;
44 typedef QuicPacketNumber QuicFecGroupNumber; 45 typedef QuicPacketNumber QuicFecGroupNumber;
45 typedef uint64 QuicPublicResetNonceProof; 46 typedef uint64 QuicPublicResetNonceProof;
46 typedef uint8 QuicPacketEntropyHash; 47 typedef uint8 QuicPacketEntropyHash;
47 typedef uint32 QuicHeaderId; 48 typedef uint32 QuicHeaderId;
48 // QuicTag is the type of a tag in the wire protocol. 49 // QuicTag is the type of a tag in the wire protocol.
49 typedef uint32 QuicTag; 50 typedef uint32 QuicTag;
50 typedef std::vector<QuicTag> QuicTagVector; 51 typedef std::vector<QuicTag> QuicTagVector;
51 typedef std::map<QuicTag, std::string> QuicTagValueMap; 52 typedef std::map<QuicTag, std::string> QuicTagValueMap;
52 // TODO(rtenneti): Didn't use SpdyPriority because SpdyPriority is uint8 and 53 // TODO(rtenneti): Didn't use SpdyPriority because SpdyPriority is uint8 and
53 // QuicPriority is uint32. Use SpdyPriority when we change the QUIC_VERSION. 54 // QuicPriority is uint32. Use SpdyPriority when we change the QUIC_VERSION.
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1239 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1239 1240
1240 const struct iovec* iov; 1241 const struct iovec* iov;
1241 const int iov_count; 1242 const int iov_count;
1242 const size_t total_length; 1243 const size_t total_length;
1243 }; 1244 };
1244 1245
1245 } // namespace net 1246 } // namespace net
1246 1247
1247 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1248 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_multipath_transmissions_map_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698