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 "base/macros.h" |
8 #include "net/quic/quic_crypto_client_stream.h" | 9 #include "net/quic/quic_crypto_client_stream.h" |
9 #include "net/quic/quic_spdy_session.h" | 10 #include "net/quic/quic_spdy_session.h" |
10 | 11 |
11 namespace net { | 12 namespace net { |
12 | 13 |
13 // Base class for all client-specific QuicSession subclasses. | 14 // Base class for all client-specific QuicSession subclasses. |
14 class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession { | 15 class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession { |
15 public: | 16 public: |
16 QuicClientSessionBase(QuicConnection* connection, const QuicConfig& config); | 17 QuicClientSessionBase(QuicConnection* connection, const QuicConfig& config); |
17 | 18 |
(...skipping 16 matching lines...) Expand all Loading... |
34 // 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. |
35 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; | 36 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; |
36 | 37 |
37 private: | 38 private: |
38 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); | 39 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace net | 42 } // namespace net |
42 | 43 |
43 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ | 44 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ |
OLD | NEW |