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

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

Issue 1458003004: Fix bug in ReliableQuicStream::WritevData() where if the write failed and the connection was closed… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107427162
Patch Set: Created 5 years, 1 month 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/reliable_quic_stream.cc » ('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 // 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698