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

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

Issue 1660593004: Landing Recent QUIC changes until 01/28/2016 18:41 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0202
Patch Set: Created 4 years, 10 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_generator_test.cc ('k') | net/quic/quic_protocol.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 #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 10
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 scoped_refptr<QuicAckListenerInterface> ack_listener; 1288 scoped_refptr<QuicAckListenerInterface> ack_listener;
1289 QuicPacketLength length; 1289 QuicPacketLength length;
1290 }; 1290 };
1291 1291
1292 struct NET_EXPORT_PRIVATE SerializedPacket { 1292 struct NET_EXPORT_PRIVATE SerializedPacket {
1293 SerializedPacket(QuicPathId path_id, 1293 SerializedPacket(QuicPathId path_id,
1294 QuicPacketNumber packet_number, 1294 QuicPacketNumber packet_number,
1295 QuicPacketNumberLength packet_number_length, 1295 QuicPacketNumberLength packet_number_length,
1296 QuicEncryptedPacket* packet, 1296 QuicEncryptedPacket* packet,
1297 QuicPacketEntropyHash entropy_hash, 1297 QuicPacketEntropyHash entropy_hash,
1298 QuicFrames* retransmittable_frames,
1299 bool has_ack, 1298 bool has_ack,
1300 bool has_stop_waiting); 1299 bool has_stop_waiting);
1301 SerializedPacket(QuicPathId path_id,
1302 QuicPacketNumber packet_number,
1303 QuicPacketNumberLength packet_number_length,
1304 char* encrypted_buffer,
1305 size_t encrypted_length,
1306 bool owns_buffer,
1307 QuicPacketEntropyHash entropy_hash,
1308 QuicFrames* retransmittable_frames,
1309 bool needs_padding,
1310 IsHandshake is_handshake,
1311 bool has_ack,
1312 bool has_stop_waiting,
1313 EncryptionLevel level);
1314 ~SerializedPacket(); 1300 ~SerializedPacket();
1315 1301
1316 QuicEncryptedPacket* packet; 1302 QuicEncryptedPacket* packet;
1317 QuicFrames* retransmittable_frames; 1303 QuicFrames retransmittable_frames;
1318 IsHandshake has_crypto_handshake; 1304 IsHandshake has_crypto_handshake;
1319 bool needs_padding; 1305 bool needs_padding;
1320 QuicPathId path_id; 1306 QuicPathId path_id;
1321 QuicPacketNumber packet_number; 1307 QuicPacketNumber packet_number;
1322 QuicPacketNumberLength packet_number_length; 1308 QuicPacketNumberLength packet_number_length;
1323 EncryptionLevel encryption_level; 1309 EncryptionLevel encryption_level;
1324 QuicPacketEntropyHash entropy_hash; 1310 QuicPacketEntropyHash entropy_hash;
1325 bool is_fec_packet; 1311 bool is_fec_packet;
1326 bool has_ack; 1312 bool has_ack;
1327 bool has_stop_waiting; 1313 bool has_stop_waiting;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1398 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1413 1399
1414 const struct iovec* iov; 1400 const struct iovec* iov;
1415 const int iov_count; 1401 const int iov_count;
1416 const size_t total_length; 1402 const size_t total_length;
1417 }; 1403 };
1418 1404
1419 } // namespace net 1405 } // namespace net
1420 1406
1421 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1407 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698