OLD | NEW |
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 // The entity that handles framing writes for a Quic client or server. | 5 // The entity that handles framing writes for a Quic client or server. |
6 // Each QuicSession will have a connection associated with it. | 6 // Each QuicSession will have a connection associated with it. |
7 // | 7 // |
8 // On the server side, the Dispatcher handles the raw reads, and hands off | 8 // On the server side, the Dispatcher handles the raw reads, and hands off |
9 // packets via ProcessUdpPacket for framing and processing. | 9 // packets via ProcessUdpPacket for framing and processing. |
10 // | 10 // |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "net/quic/quic_blocked_writer_interface.h" | 34 #include "net/quic/quic_blocked_writer_interface.h" |
35 #include "net/quic/quic_connection_stats.h" | 35 #include "net/quic/quic_connection_stats.h" |
36 #include "net/quic/quic_packet_creator.h" | 36 #include "net/quic/quic_packet_creator.h" |
37 #include "net/quic/quic_packet_generator.h" | 37 #include "net/quic/quic_packet_generator.h" |
38 #include "net/quic/quic_packet_writer.h" | 38 #include "net/quic/quic_packet_writer.h" |
39 #include "net/quic/quic_protocol.h" | 39 #include "net/quic/quic_protocol.h" |
40 #include "net/quic/quic_received_packet_manager.h" | 40 #include "net/quic/quic_received_packet_manager.h" |
41 #include "net/quic/quic_sent_entropy_manager.h" | 41 #include "net/quic/quic_sent_entropy_manager.h" |
42 #include "net/quic/quic_sent_packet_manager.h" | 42 #include "net/quic/quic_sent_packet_manager.h" |
43 | 43 |
44 NET_EXPORT_PRIVATE extern int FLAGS_fake_packet_loss_percentage; | |
45 NET_EXPORT_PRIVATE extern bool FLAGS_bundle_ack_with_outgoing_packet; | |
46 | |
47 namespace net { | 44 namespace net { |
48 | 45 |
49 class QuicClock; | 46 class QuicClock; |
50 class QuicConfig; | 47 class QuicConfig; |
51 class QuicConnection; | 48 class QuicConnection; |
52 class QuicDecrypter; | 49 class QuicDecrypter; |
53 class QuicEncrypter; | 50 class QuicEncrypter; |
54 class QuicFecGroup; | 51 class QuicFecGroup; |
55 class QuicRandom; | 52 class QuicRandom; |
56 | 53 |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // If non-empty this contains the set of versions received in a | 711 // If non-empty this contains the set of versions received in a |
715 // version negotiation packet. | 712 // version negotiation packet. |
716 QuicVersionVector server_supported_versions_; | 713 QuicVersionVector server_supported_versions_; |
717 | 714 |
718 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 715 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
719 }; | 716 }; |
720 | 717 |
721 } // namespace net | 718 } // namespace net |
722 | 719 |
723 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 720 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
OLD | NEW |