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

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

Issue 285193006: Don't set QUIC's write alarm if we are connection flow control blocked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Created 6 years, 7 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_protocol.h ('k') | net/quic/quic_session.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 // A QuicSession, which demuxes a single connection to individual streams. 5 // A QuicSession, which demuxes a single connection to individual streams.
6 6
7 #ifndef NET_QUIC_QUIC_SESSION_H_ 7 #ifndef NET_QUIC_QUIC_SESSION_H_
8 #define NET_QUIC_QUIC_SESSION_H_ 8 #define NET_QUIC_QUIC_SESSION_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void OnGoAway(const QuicGoAwayFrame& frame) OVERRIDE; 66 virtual void OnGoAway(const QuicGoAwayFrame& frame) OVERRIDE;
67 virtual void OnWindowUpdateFrames( 67 virtual void OnWindowUpdateFrames(
68 const std::vector<QuicWindowUpdateFrame>& frames) OVERRIDE; 68 const std::vector<QuicWindowUpdateFrame>& frames) OVERRIDE;
69 virtual void OnBlockedFrames( 69 virtual void OnBlockedFrames(
70 const std::vector<QuicBlockedFrame>& frames) OVERRIDE; 70 const std::vector<QuicBlockedFrame>& frames) OVERRIDE;
71 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE; 71 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE;
72 virtual void OnWriteBlocked() OVERRIDE {} 72 virtual void OnWriteBlocked() OVERRIDE {}
73 virtual void OnSuccessfulVersionNegotiation( 73 virtual void OnSuccessfulVersionNegotiation(
74 const QuicVersion& version) OVERRIDE; 74 const QuicVersion& version) OVERRIDE;
75 virtual void OnCanWrite() OVERRIDE; 75 virtual void OnCanWrite() OVERRIDE;
76 virtual bool HasPendingWrites() const OVERRIDE; 76 virtual bool WillingAndAbleToWrite() const OVERRIDE;
77 virtual bool HasPendingHandshake() const OVERRIDE; 77 virtual bool HasPendingHandshake() const OVERRIDE;
78 virtual bool HasOpenDataStreams() const OVERRIDE; 78 virtual bool HasOpenDataStreams() const OVERRIDE;
79 79
80 // Called by the headers stream when headers have been received for a stream. 80 // Called by the headers stream when headers have been received for a stream.
81 virtual void OnStreamHeaders(QuicStreamId stream_id, 81 virtual void OnStreamHeaders(QuicStreamId stream_id,
82 base::StringPiece headers_data); 82 base::StringPiece headers_data);
83 // Called by the headers stream when headers with a priority have been 83 // Called by the headers stream when headers with a priority have been
84 // received for this stream. This method will only be called for server 84 // received for this stream. This method will only be called for server
85 // streams. 85 // streams.
86 virtual void OnStreamHeadersPriority(QuicStreamId stream_id, 86 virtual void OnStreamHeadersPriority(QuicStreamId stream_id,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 // Initial flow control receive window size for new streams. 309 // Initial flow control receive window size for new streams.
310 uint32 max_flow_control_receive_window_bytes_; 310 uint32 max_flow_control_receive_window_bytes_;
311 311
312 DISALLOW_COPY_AND_ASSIGN(QuicSession); 312 DISALLOW_COPY_AND_ASSIGN(QuicSession);
313 }; 313 };
314 314
315 } // namespace net 315 } // namespace net
316 316
317 #endif // NET_QUIC_QUIC_SESSION_H_ 317 #endif // NET_QUIC_QUIC_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698