| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ | 5 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ |
| 6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ | 6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ |
| 7 | 7 |
| 8 #include "net/quic/quic_crypto_client_stream.h" | 8 #include "net/quic/quic_crypto_client_stream.h" |
| 9 #include "net/quic/quic_session.h" | 9 #include "net/quic/quic_session.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 virtual void OnProofValid( | 26 virtual void OnProofValid( |
| 27 const QuicCryptoClientConfig::CachedState& cached) = 0; | 27 const QuicCryptoClientConfig::CachedState& cached) = 0; |
| 28 | 28 |
| 29 // Called when proof verification details become available, either because | 29 // Called when proof verification details become available, either because |
| 30 // proof verification is complete, or when cached details are used. This | 30 // proof verification is complete, or when cached details are used. This |
| 31 // will only be called for secure QUIC connections. | 31 // will only be called for secure QUIC connections. |
| 32 virtual void OnProofVerifyDetailsAvailable( | 32 virtual void OnProofVerifyDetailsAvailable( |
| 33 const ProofVerifyDetails& verify_details) = 0; | 33 const ProofVerifyDetails& verify_details) = 0; |
| 34 | 34 |
| 35 // Override base class to set FEC policy before any data is sent by client. | 35 // Override base class to set FEC policy before any data is sent by client. |
| 36 virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) OVERRIDE; | 36 virtual void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); | 39 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace net | 42 } // namespace net |
| 43 | 43 |
| 44 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ | 44 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ |
| OLD | NEW |