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

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

Issue 561463002: remove >> ambiguity in quic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix another instance of this in quic_received_packet_manager.h Created 6 years, 3 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 | « no previous file | net/quic/quic_received_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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // If this is set, then when this packet is ACKed the AckNotifier will be 640 // If this is set, then when this packet is ACKed the AckNotifier will be
641 // informed. 641 // informed.
642 QuicAckNotifier* notifier; 642 QuicAckNotifier* notifier;
643 }; 643 };
644 644
645 // TODO(ianswett): Re-evaluate the trade-offs of hash_set vs set when framing 645 // TODO(ianswett): Re-evaluate the trade-offs of hash_set vs set when framing
646 // is finalized. 646 // is finalized.
647 typedef std::set<QuicPacketSequenceNumber> SequenceNumberSet; 647 typedef std::set<QuicPacketSequenceNumber> SequenceNumberSet;
648 typedef std::list<QuicPacketSequenceNumber> SequenceNumberList; 648 typedef std::list<QuicPacketSequenceNumber> SequenceNumberList;
649 649
650 typedef std::list<std::pair<QuicPacketSequenceNumber, QuicTime>> PacketTimeList; 650 typedef std::list<
651 std::pair<QuicPacketSequenceNumber, QuicTime> > PacketTimeList;
651 652
652 struct NET_EXPORT_PRIVATE QuicStopWaitingFrame { 653 struct NET_EXPORT_PRIVATE QuicStopWaitingFrame {
653 QuicStopWaitingFrame(); 654 QuicStopWaitingFrame();
654 ~QuicStopWaitingFrame(); 655 ~QuicStopWaitingFrame();
655 656
656 NET_EXPORT_PRIVATE friend std::ostream& operator<<( 657 NET_EXPORT_PRIVATE friend std::ostream& operator<<(
657 std::ostream& os, const QuicStopWaitingFrame& s); 658 std::ostream& os, const QuicStopWaitingFrame& s);
658 // Entropy hash of all packets up to, but not including, the least unacked 659 // Entropy hash of all packets up to, but not including, the least unacked
659 // packet. 660 // packet.
660 QuicPacketEntropyHash entropy_hash; 661 QuicPacketEntropyHash entropy_hash;
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // Stores the sequence numbers of all transmissions of this packet. 1074 // Stores the sequence numbers of all transmissions of this packet.
1074 // Can never be null. 1075 // Can never be null.
1075 SequenceNumberList* all_transmissions; 1076 SequenceNumberList* all_transmissions;
1076 // In flight packets have not been abandoned or lost. 1077 // In flight packets have not been abandoned or lost.
1077 bool in_flight; 1078 bool in_flight;
1078 }; 1079 };
1079 1080
1080 } // namespace net 1081 } // namespace net
1081 1082
1082 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1083 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_received_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698