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

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

Issue 1613513003: Early connection migration in QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Rebased against merged cl. Created 4 years, 10 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
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 void OnRstStream(const QuicRstStreamFrame& frame) override; 170 void OnRstStream(const QuicRstStreamFrame& frame) override;
171 171
172 // QuicClientSessionBase methods: 172 // QuicClientSessionBase methods:
173 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override; 173 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override;
174 void OnProofVerifyDetailsAvailable( 174 void OnProofVerifyDetailsAvailable(
175 const ProofVerifyDetails& verify_details) override; 175 const ProofVerifyDetails& verify_details) override;
176 176
177 // QuicConnectionVisitorInterface methods: 177 // QuicConnectionVisitorInterface methods:
178 void OnConnectionClosed(QuicErrorCode error, bool from_peer) override; 178 void OnConnectionClosed(QuicErrorCode error, bool from_peer) override;
179 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; 179 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override;
180 void OnPathDegrading() override;
180 181
181 // QuicChromiumPacketReader::Visitor methods: 182 // QuicChromiumPacketReader::Visitor methods:
182 void OnReadError(int result, const DatagramClientSocket* socket) override; 183 void OnReadError(int result, const DatagramClientSocket* socket) override;
183 bool OnPacket(const QuicEncryptedPacket& packet, 184 bool OnPacket(const QuicEncryptedPacket& packet,
184 IPEndPoint local_address, 185 IPEndPoint local_address,
185 IPEndPoint peer_address) override; 186 IPEndPoint peer_address) override;
186 187
187 // Gets the SSL connection information. 188 // Gets the SSL connection information.
188 bool GetSSLInfo(SSLInfo* ssl_info) const; 189 bool GetSSLInfo(SSLInfo* ssl_info) const;
189 190
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 bool going_away_; 321 bool going_away_;
321 QuicDisabledReason disabled_reason_; 322 QuicDisabledReason disabled_reason_;
322 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; 323 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_;
323 324
324 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); 325 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession);
325 }; 326 };
326 327
327 } // namespace net 328 } // namespace net
328 329
329 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ 330 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698