OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |