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

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

Issue 2464683002: adds std:: to stl types (#049) (Closed)
Patch Set: remove dead using std::foo declarations. Created 4 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
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 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 // a packet is never sent, after it is acknowledged once, or if it's a crypto 1472 // a packet is never sent, after it is acknowledged once, or if it's a crypto
1473 // packet we never expect to receive an ack for. 1473 // packet we never expect to receive an ack for.
1474 bool is_unackable; 1474 bool is_unackable;
1475 // True if the packet contains stream data from the crypto stream. 1475 // True if the packet contains stream data from the crypto stream.
1476 bool has_crypto_handshake; 1476 bool has_crypto_handshake;
1477 // Non-zero if the packet needs padding if it's retransmitted. 1477 // Non-zero if the packet needs padding if it's retransmitted.
1478 int16_t num_padding_bytes; 1478 int16_t num_padding_bytes;
1479 // Stores the packet number of the next retransmission of this packet. 1479 // Stores the packet number of the next retransmission of this packet.
1480 // Zero if the packet has not been retransmitted. 1480 // Zero if the packet has not been retransmitted.
1481 QuicPacketNumber retransmission; 1481 QuicPacketNumber retransmission;
1482 // Non-empty if there is a listener for this packet. 1482 // Non-empty if there is a std::listener for this packet.
1483 std::list<AckListenerWrapper> ack_listeners; 1483 std::list<AckListenerWrapper> ack_listeners;
1484 }; 1484 };
1485 1485
1486 // Struct to store the pending retransmission information. 1486 // Struct to store the pending retransmission information.
1487 struct PendingRetransmission { 1487 struct PendingRetransmission {
1488 PendingRetransmission(QuicPathId path_id, 1488 PendingRetransmission(QuicPathId path_id,
1489 QuicPacketNumber packet_number, 1489 QuicPacketNumber packet_number,
1490 TransmissionType transmission_type, 1490 TransmissionType transmission_type,
1491 const QuicFrames& retransmittable_frames, 1491 const QuicFrames& retransmittable_frames,
1492 bool has_crypto_handshake, 1492 bool has_crypto_handshake,
(...skipping 26 matching lines...) Expand all
1519 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1519 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1520 1520
1521 const struct iovec* iov; 1521 const struct iovec* iov;
1522 const int iov_count; 1522 const int iov_count;
1523 const size_t total_length; 1523 const size_t total_length;
1524 }; 1524 };
1525 1525
1526 } // namespace net 1526 } // namespace net
1527 1527
1528 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1528 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_packet_generator_test.cc ('k') | net/quic/core/quic_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698