| 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 <vector> | 25 #include <vector> |
| 26 | 26 |
| 27 #include "base/basictypes.h" | 27 #include "base/basictypes.h" |
| 28 #include "base/logging.h" | 28 #include "base/logging.h" |
| 29 #include "base/memory/scoped_ptr.h" | 29 #include "base/memory/scoped_ptr.h" |
| 30 #include "base/strings/string_piece.h" | 30 #include "base/strings/string_piece.h" |
| 31 #include "net/base/ip_endpoint.h" | 31 #include "net/base/ip_endpoint.h" |
| 32 #include "net/quic/crypto/quic_decrypter.h" | 32 #include "net/quic/crypto/quic_decrypter.h" |
| 33 #include "net/quic/quic_alarm.h" | 33 #include "net/quic/quic_alarm.h" |
| 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_fec_group.h" |
| 36 #include "net/quic/quic_framer.h" |
| 36 #include "net/quic/quic_packet_creator.h" | 37 #include "net/quic/quic_packet_creator.h" |
| 37 #include "net/quic/quic_packet_generator.h" | 38 #include "net/quic/quic_packet_generator.h" |
| 38 #include "net/quic/quic_packet_writer.h" | 39 #include "net/quic/quic_packet_writer.h" |
| 39 #include "net/quic/quic_protocol.h" | 40 #include "net/quic/quic_protocol.h" |
| 40 #include "net/quic/quic_received_packet_manager.h" | 41 #include "net/quic/quic_received_packet_manager.h" |
| 41 #include "net/quic/quic_sent_entropy_manager.h" | 42 #include "net/quic/quic_sent_entropy_manager.h" |
| 42 #include "net/quic/quic_sent_packet_manager.h" | 43 #include "net/quic/quic_sent_packet_manager.h" |
| 43 #include "net/quic/quic_time.h" | 44 #include "net/quic/quic_time.h" |
| 44 #include "net/quic/quic_types.h" | 45 #include "net/quic/quic_types.h" |
| 45 | 46 |
| 46 namespace net { | 47 namespace net { |
| 47 | 48 |
| 48 class QuicClock; | 49 class QuicClock; |
| 49 class QuicConfig; | 50 class QuicConfig; |
| 50 class QuicConnection; | 51 class QuicConnection; |
| 51 class QuicDecrypter; | |
| 52 class QuicEncrypter; | 52 class QuicEncrypter; |
| 53 class QuicFecGroup; | 53 class QuicFecGroup; |
| 54 class QuicRandom; | 54 class QuicRandom; |
| 55 | 55 |
| 56 namespace test { | 56 namespace test { |
| 57 class PacketSavingConnection; | 57 class PacketSavingConnection; |
| 58 class QuicConnectionPeer; | 58 class QuicConnectionPeer; |
| 59 } // namespace test | 59 } // namespace test |
| 60 | 60 |
| 61 // The initial number of packets between MTU probes. After each attempt the | 61 // The initial number of packets between MTU probes. After each attempt the |
| (...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 | 982 |
| 983 // Whether a GoAway has been received. | 983 // Whether a GoAway has been received. |
| 984 bool goaway_received_; | 984 bool goaway_received_; |
| 985 | 985 |
| 986 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 986 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
| 987 }; | 987 }; |
| 988 | 988 |
| 989 } // namespace net | 989 } // namespace net |
| 990 | 990 |
| 991 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 991 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
| OLD | NEW |