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

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

Issue 497553004: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with TOT Created 6 years, 4 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_server_session.cc ('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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void OnGoAway(const QuicGoAwayFrame& frame) OVERRIDE; 64 virtual void OnGoAway(const QuicGoAwayFrame& frame) OVERRIDE;
65 virtual void OnWindowUpdateFrames( 65 virtual void OnWindowUpdateFrames(
66 const std::vector<QuicWindowUpdateFrame>& frames) OVERRIDE; 66 const std::vector<QuicWindowUpdateFrame>& frames) OVERRIDE;
67 virtual void OnBlockedFrames( 67 virtual void OnBlockedFrames(
68 const std::vector<QuicBlockedFrame>& frames) OVERRIDE; 68 const std::vector<QuicBlockedFrame>& frames) OVERRIDE;
69 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE; 69 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE;
70 virtual void OnWriteBlocked() OVERRIDE {} 70 virtual void OnWriteBlocked() OVERRIDE {}
71 virtual void OnSuccessfulVersionNegotiation( 71 virtual void OnSuccessfulVersionNegotiation(
72 const QuicVersion& version) OVERRIDE; 72 const QuicVersion& version) OVERRIDE;
73 virtual void OnCanWrite() OVERRIDE; 73 virtual void OnCanWrite() OVERRIDE;
74 virtual void OnCongestionWindowChange(QuicTime now) OVERRIDE {}
74 virtual bool WillingAndAbleToWrite() const OVERRIDE; 75 virtual bool WillingAndAbleToWrite() const OVERRIDE;
75 virtual bool HasPendingHandshake() const OVERRIDE; 76 virtual bool HasPendingHandshake() const OVERRIDE;
76 virtual bool HasOpenDataStreams() const OVERRIDE; 77 virtual bool HasOpenDataStreams() const OVERRIDE;
77 78
78 // Called by the headers stream when headers have been received for a stream. 79 // Called by the headers stream when headers have been received for a stream.
79 virtual void OnStreamHeaders(QuicStreamId stream_id, 80 virtual void OnStreamHeaders(QuicStreamId stream_id,
80 base::StringPiece headers_data); 81 base::StringPiece headers_data);
81 // Called by the headers stream when headers with a priority have been 82 // Called by the headers stream when headers with a priority have been
82 // received for this stream. This method will only be called for server 83 // received for this stream. This method will only be called for server
83 // streams. 84 // streams.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 322
322 // Used for session level flow control. 323 // Used for session level flow control.
323 scoped_ptr<QuicFlowController> flow_controller_; 324 scoped_ptr<QuicFlowController> flow_controller_;
324 325
325 DISALLOW_COPY_AND_ASSIGN(QuicSession); 326 DISALLOW_COPY_AND_ASSIGN(QuicSession);
326 }; 327 };
327 328
328 } // namespace net 329 } // namespace net
329 330
330 #endif // NET_QUIC_QUIC_SESSION_H_ 331 #endif // NET_QUIC_QUIC_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_server_session.cc ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698