| 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 server specific QuicSession subclass. | 5 // A server specific QuicSession subclass. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ | 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ |
| 8 #define NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ | 8 #define NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <cstdint> | 12 #include <cstdint> |
| 13 #include <memory> | 13 #include <memory> |
| 14 #include <set> | 14 #include <set> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| 20 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" | 20 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" |
| 21 #include "net/quic/core/quic_crypto_server_stream.h" | 21 #include "net/quic/core/quic_crypto_server_stream.h" |
| 22 #include "net/quic/core/quic_protocol.h" | 22 #include "net/quic/core/quic_protocol.h" |
| 23 #include "net/quic/core/quic_spdy_session.h" | 23 #include "net/quic/core/quic_spdy_session.h" |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| 26 | 26 |
| 27 class QuicBlockedWriterInterface; | |
| 28 class QuicConfig; | 27 class QuicConfig; |
| 29 class QuicConnection; | 28 class QuicConnection; |
| 30 class QuicCryptoServerConfig; | 29 class QuicCryptoServerConfig; |
| 31 class QuicStream; | |
| 32 | 30 |
| 33 namespace test { | 31 namespace test { |
| 34 class QuicServerSessionBasePeer; | 32 class QuicServerSessionBasePeer; |
| 35 class QuicSimpleServerSessionPeer; | 33 class QuicSimpleServerSessionPeer; |
| 36 } // namespace test | 34 } // namespace test |
| 37 | 35 |
| 38 class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession { | 36 class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession { |
| 39 public: | 37 public: |
| 40 // Does not take ownership of |connection|. |crypto_config| must outlive the | 38 // Does not take ownership of |connection|. |crypto_config| must outlive the |
| 41 // session. |helper| must outlive any created crypto streams. | 39 // session. |helper| must outlive any created crypto streams. |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // should go away once we fix http://b//27897982 | 129 // should go away once we fix http://b//27897982 |
| 132 int32_t BandwidthToCachedParameterBytesPerSecond( | 130 int32_t BandwidthToCachedParameterBytesPerSecond( |
| 133 const QuicBandwidth& bandwidth); | 131 const QuicBandwidth& bandwidth); |
| 134 | 132 |
| 135 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase); | 133 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase); |
| 136 }; | 134 }; |
| 137 | 135 |
| 138 } // namespace net | 136 } // namespace net |
| 139 | 137 |
| 140 #endif // NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ | 138 #endif // NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ |
| OLD | NEW |