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

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

Issue 1231343004: relnote: Change QuicConnectionVisitorInterface::OnStreamFrames to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fix_flag_quic_delay_retransmission_alarm_97271704
Patch Set: Created 5 years, 5 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 | « no previous file | net/quic/quic_client_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 client specific QuicSession subclass. This class owns the underlying 5 // A client specific QuicSession subclass. This class owns the underlying
6 // QuicConnection and QuicConnectionHelper objects. The connection stores 6 // QuicConnection and QuicConnectionHelper objects. The connection stores
7 // a non-owning pointer to the helper so this session needs to ensure that 7 // a non-owning pointer to the helper so this session needs to ensure that
8 // the helper outlives the connection. 8 // the helper outlives the connection.
9 9
10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // be completed asynchronously. 130 // be completed asynchronously.
131 // TODO(rch): remove |stream| from this and use setter on |request| 131 // TODO(rch): remove |stream| from this and use setter on |request|
132 // and fix in spdy too. 132 // and fix in spdy too.
133 int TryCreateStream(StreamRequest* request, 133 int TryCreateStream(StreamRequest* request,
134 QuicReliableClientStream** stream); 134 QuicReliableClientStream** stream);
135 135
136 // Cancels the pending stream creation request. 136 // Cancels the pending stream creation request.
137 void CancelRequest(StreamRequest* request); 137 void CancelRequest(StreamRequest* request);
138 138
139 // QuicSession methods: 139 // QuicSession methods:
140 void OnStreamFrames(const std::vector<QuicStreamFrame>& frames) override; 140 void OnStreamFrame(const QuicStreamFrame& frame) override;
141 QuicReliableClientStream* CreateOutgoingDynamicStream() override; 141 QuicReliableClientStream* CreateOutgoingDynamicStream() override;
142 QuicCryptoClientStream* GetCryptoStream() override; 142 QuicCryptoClientStream* GetCryptoStream() override;
143 void CloseStream(QuicStreamId stream_id) override; 143 void CloseStream(QuicStreamId stream_id) override;
144 void SendRstStream(QuicStreamId id, 144 void SendRstStream(QuicStreamId id,
145 QuicRstStreamErrorCode error, 145 QuicRstStreamErrorCode error,
146 QuicStreamOffset bytes_written) override; 146 QuicStreamOffset bytes_written) override;
147 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 147 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
148 void OnCryptoHandshakeMessageSent( 148 void OnCryptoHandshakeMessageSent(
149 const CryptoHandshakeMessage& message) override; 149 const CryptoHandshakeMessage& message) override;
150 void OnCryptoHandshakeMessageReceived( 150 void OnCryptoHandshakeMessageReceived(
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 bool going_away_; 277 bool going_away_;
278 QuicDisabledReason disabled_reason_; 278 QuicDisabledReason disabled_reason_;
279 base::WeakPtrFactory<QuicClientSession> weak_factory_; 279 base::WeakPtrFactory<QuicClientSession> weak_factory_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); 281 DISALLOW_COPY_AND_ASSIGN(QuicClientSession);
282 }; 282 };
283 283
284 } // namespace net 284 } // namespace net
285 285
286 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ 286 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698