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

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

Issue 2124753005: Implements migration of a QUIC connection to a different destination address if specified by the se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write-error
Patch Set: Comments addressed. Created 4 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_chromium_client_session.cc » ('j') | net/quic/quic_stream_factory.h » ('J')
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_CHROMIUM_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 QuicStreamOffset bytes_written) override; 176 QuicStreamOffset bytes_written) override;
177 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 177 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
178 void OnCryptoHandshakeMessageSent( 178 void OnCryptoHandshakeMessageSent(
179 const CryptoHandshakeMessage& message) override; 179 const CryptoHandshakeMessage& message) override;
180 void OnCryptoHandshakeMessageReceived( 180 void OnCryptoHandshakeMessageReceived(
181 const CryptoHandshakeMessage& message) override; 181 const CryptoHandshakeMessage& message) override;
182 void OnGoAway(const QuicGoAwayFrame& frame) override; 182 void OnGoAway(const QuicGoAwayFrame& frame) override;
183 void OnRstStream(const QuicRstStreamFrame& frame) override; 183 void OnRstStream(const QuicRstStreamFrame& frame) override;
184 184
185 // QuicClientSessionBase methods: 185 // QuicClientSessionBase methods:
186 void OnConfigNegotiated() override;
186 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override; 187 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override;
187 void OnProofVerifyDetailsAvailable( 188 void OnProofVerifyDetailsAvailable(
188 const ProofVerifyDetails& verify_details) override; 189 const ProofVerifyDetails& verify_details) override;
189 190
190 // QuicConnectionVisitorInterface methods: 191 // QuicConnectionVisitorInterface methods:
191 void OnConnectionClosed(QuicErrorCode error, 192 void OnConnectionClosed(QuicErrorCode error,
192 const std::string& error_details, 193 const std::string& error_details,
193 ConnectionCloseSource source) override; 194 ConnectionCloseSource source) override;
194 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; 195 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override;
195 void OnPathDegrading() override; 196 void OnPathDegrading() override;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 int error_code_from_rewrite_; 370 int error_code_from_rewrite_;
370 bool use_error_code_from_rewrite_; 371 bool use_error_code_from_rewrite_;
371 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; 372 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_;
372 373
373 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); 374 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession);
374 }; 375 };
375 376
376 } // namespace net 377 } // namespace net
377 378
378 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ 379 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_chromium_client_session.cc » ('j') | net/quic/quic_stream_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698