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

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

Issue 1661863002: Remove a test-only SerializedPacket constructor from QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113110142
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_connection_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 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 1298 QuicFrames* retransmittable_frames,
1299 bool has_ack, 1299 bool has_ack,
1300 bool has_stop_waiting); 1300 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(); 1301 ~SerializedPacket();
1315 1302
1316 QuicEncryptedPacket* packet; 1303 QuicEncryptedPacket* packet;
1317 QuicFrames* retransmittable_frames; 1304 QuicFrames* retransmittable_frames;
1318 IsHandshake has_crypto_handshake; 1305 IsHandshake has_crypto_handshake;
1319 bool needs_padding; 1306 bool needs_padding;
1320 QuicPathId path_id; 1307 QuicPathId path_id;
1321 QuicPacketNumber packet_number; 1308 QuicPacketNumber packet_number;
1322 QuicPacketNumberLength packet_number_length; 1309 QuicPacketNumberLength packet_number_length;
1323 EncryptionLevel encryption_level; 1310 EncryptionLevel encryption_level;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1399 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1413 1400
1414 const struct iovec* iov; 1401 const struct iovec* iov;
1415 const int iov_count; 1402 const int iov_count;
1416 const size_t total_length; 1403 const size_t total_length;
1417 }; 1404 };
1418 1405
1419 } // namespace net 1406 } // namespace net
1420 1407
1421 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1408 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698