Chromium Code Reviews| 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 30 matching lines...) Expand all Loading... | |
| 41 #include "net/quic/core/quic_packet_creator.h" | 41 #include "net/quic/core/quic_packet_creator.h" |
| 42 #include "net/quic/core/quic_packet_generator.h" | 42 #include "net/quic/core/quic_packet_generator.h" |
| 43 #include "net/quic/core/quic_packet_writer.h" | 43 #include "net/quic/core/quic_packet_writer.h" |
| 44 #include "net/quic/core/quic_packets.h" | 44 #include "net/quic/core/quic_packets.h" |
| 45 #include "net/quic/core/quic_received_packet_manager.h" | 45 #include "net/quic/core/quic_received_packet_manager.h" |
| 46 #include "net/quic/core/quic_sent_packet_manager_interface.h" | 46 #include "net/quic/core/quic_sent_packet_manager_interface.h" |
| 47 #include "net/quic/core/quic_time.h" | 47 #include "net/quic/core/quic_time.h" |
| 48 #include "net/quic/core/quic_types.h" | 48 #include "net/quic/core/quic_types.h" |
| 49 #include "net/quic/platform/api/quic_export.h" | 49 #include "net/quic/platform/api/quic_export.h" |
| 50 #include "net/quic/platform/api/quic_socket_address.h" | 50 #include "net/quic/platform/api/quic_socket_address.h" |
| 51 #include "net/quic/platform/api/quic_str_cat.h" | |
|
Ryan Hamilton
2016/12/22 18:17:30
nit: Is this required? I don't think we use StrCat
| |
| 51 | 52 |
| 52 namespace net { | 53 namespace net { |
| 53 | 54 |
| 54 class QuicClock; | 55 class QuicClock; |
| 55 class QuicConfig; | 56 class QuicConfig; |
| 56 class QuicConnection; | 57 class QuicConnection; |
| 57 class QuicEncrypter; | 58 class QuicEncrypter; |
| 58 class QuicRandom; | 59 class QuicRandom; |
| 59 | 60 |
| 60 namespace test { | 61 namespace test { |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1107 // Indicates whether a write error is encountered currently. This is used to | 1108 // Indicates whether a write error is encountered currently. This is used to |
| 1108 // avoid infinite write errors. | 1109 // avoid infinite write errors. |
| 1109 bool write_error_occured_; | 1110 bool write_error_occured_; |
| 1110 | 1111 |
| 1111 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 1112 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
| 1112 }; | 1113 }; |
| 1113 | 1114 |
| 1114 } // namespace net | 1115 } // namespace net |
| 1115 | 1116 |
| 1116 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_ | 1117 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_ |
| OLD | NEW |