| 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 14 matching lines...) Expand all Loading... |
| 25 #include <memory> | 25 #include <memory> |
| 26 #include <queue> | 26 #include <queue> |
| 27 #include <string> | 27 #include <string> |
| 28 #include <vector> | 28 #include <vector> |
| 29 | 29 |
| 30 #include "base/logging.h" | 30 #include "base/logging.h" |
| 31 #include "base/macros.h" | 31 #include "base/macros.h" |
| 32 #include "base/strings/string_piece.h" | 32 #include "base/strings/string_piece.h" |
| 33 #include "net/base/ip_address.h" | 33 #include "net/base/ip_address.h" |
| 34 #include "net/base/ip_endpoint.h" | 34 #include "net/base/ip_endpoint.h" |
| 35 #include "net/base/net_export.h" |
| 35 #include "net/quic/core/crypto/quic_decrypter.h" | 36 #include "net/quic/core/crypto/quic_decrypter.h" |
| 36 #include "net/quic/core/quic_alarm.h" | 37 #include "net/quic/core/quic_alarm.h" |
| 37 #include "net/quic/core/quic_alarm_factory.h" | 38 #include "net/quic/core/quic_alarm_factory.h" |
| 38 #include "net/quic/core/quic_blocked_writer_interface.h" | 39 #include "net/quic/core/quic_blocked_writer_interface.h" |
| 39 #include "net/quic/core/quic_connection_stats.h" | 40 #include "net/quic/core/quic_connection_stats.h" |
| 40 #include "net/quic/core/quic_framer.h" | 41 #include "net/quic/core/quic_framer.h" |
| 41 #include "net/quic/core/quic_multipath_sent_packet_manager.h" | 42 #include "net/quic/core/quic_multipath_sent_packet_manager.h" |
| 42 #include "net/quic/core/quic_one_block_arena.h" | 43 #include "net/quic/core/quic_one_block_arena.h" |
| 43 #include "net/quic/core/quic_packet_creator.h" | 44 #include "net/quic/core/quic_packet_creator.h" |
| 44 #include "net/quic/core/quic_packet_generator.h" | 45 #include "net/quic/core/quic_packet_generator.h" |
| (...skipping 1062 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_QUIC_CONNECTION_H_ | 1117 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
| OLD | NEW |