| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; | 171 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; |
| 172 void OnCryptoHandshakeMessageSent( | 172 void OnCryptoHandshakeMessageSent( |
| 173 const CryptoHandshakeMessage& message) override; | 173 const CryptoHandshakeMessage& message) override; |
| 174 void OnCryptoHandshakeMessageReceived( | 174 void OnCryptoHandshakeMessageReceived( |
| 175 const CryptoHandshakeMessage& message) override; | 175 const CryptoHandshakeMessage& message) override; |
| 176 void OnGoAway(const QuicGoAwayFrame& frame) override; | 176 void OnGoAway(const QuicGoAwayFrame& frame) override; |
| 177 void OnRstStream(const QuicRstStreamFrame& frame) override; | 177 void OnRstStream(const QuicRstStreamFrame& frame) override; |
| 178 | 178 |
| 179 // QuicClientSessionBase methods: | 179 // QuicClientSessionBase methods: |
| 180 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override; | 180 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override; |
| 181 void OnChannelValid() override; |
| 181 void OnProofVerifyDetailsAvailable( | 182 void OnProofVerifyDetailsAvailable( |
| 182 const ProofVerifyDetails& verify_details) override; | 183 const ProofVerifyDetails& verify_details) override; |
| 183 | 184 |
| 184 // QuicConnectionVisitorInterface methods: | 185 // QuicConnectionVisitorInterface methods: |
| 185 void OnConnectionClosed(QuicErrorCode error, | 186 void OnConnectionClosed(QuicErrorCode error, |
| 186 const std::string& error_details, | 187 const std::string& error_details, |
| 187 ConnectionCloseSource source) override; | 188 ConnectionCloseSource source) override; |
| 188 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; | 189 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; |
| 189 void OnPathDegrading() override; | 190 void OnPathDegrading() override; |
| 190 bool HasOpenDynamicStreams() const override; | 191 bool HasOpenDynamicStreams() const override; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 int streams_pushed_count_; | 356 int streams_pushed_count_; |
| 356 int streams_pushed_and_claimed_count_; | 357 int streams_pushed_and_claimed_count_; |
| 357 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; | 358 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; |
| 358 | 359 |
| 359 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); | 360 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); |
| 360 }; | 361 }; |
| 361 | 362 |
| 362 } // namespace net | 363 } // namespace net |
| 363 | 364 |
| 364 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 365 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
| OLD | NEW |