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

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

Issue 1190823003: Remove dependency on headers stream from QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0616
Patch Set: deleted an include Created 5 years, 6 months 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 | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_connection.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // limits). 106 // limits).
107 // Writes may be pending because they were write-blocked, congestion-throttled 107 // Writes may be pending because they were write-blocked, congestion-throttled
108 // or yielded to other connections. 108 // or yielded to other connections.
109 virtual bool WillingAndAbleToWrite() const = 0; 109 virtual bool WillingAndAbleToWrite() const = 0;
110 110
111 // Called to ask if any handshake messages are pending in this visitor. 111 // Called to ask if any handshake messages are pending in this visitor.
112 virtual bool HasPendingHandshake() const = 0; 112 virtual bool HasPendingHandshake() const = 0;
113 113
114 // Called to ask if any streams are open in this visitor, excluding the 114 // Called to ask if any streams are open in this visitor, excluding the
115 // reserved crypto and headers stream. 115 // reserved crypto and headers stream.
116 virtual bool HasOpenDataStreams() const = 0; 116 virtual bool HasOpenDynamicStreams() const = 0;
117 }; 117 };
118 118
119 // Interface which gets callbacks from the QuicConnection at interesting 119 // Interface which gets callbacks from the QuicConnection at interesting
120 // points. Implementations must not mutate the state of the connection 120 // points. Implementations must not mutate the state of the connection
121 // as a result of these callbacks. 121 // as a result of these callbacks.
122 class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor 122 class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
123 : public QuicPacketGenerator::DebugDelegate, 123 : public QuicPacketGenerator::DebugDelegate,
124 public QuicSentPacketManager::DebugDelegate { 124 public QuicSentPacketManager::DebugDelegate {
125 public: 125 public:
126 ~QuicConnectionDebugVisitor() override {} 126 ~QuicConnectionDebugVisitor() override {}
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 852
853 // True if this is a secure QUIC connection. 853 // True if this is a secure QUIC connection.
854 bool is_secure_; 854 bool is_secure_;
855 855
856 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 856 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
857 }; 857 };
858 858
859 } // namespace net 859 } // namespace net
860 860
861 #endif // NET_QUIC_QUIC_CONNECTION_H_ 861 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698