| 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> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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; | 27 class QuicBlockedWriterInterface; |
| 28 class QuicConfig; | 28 class QuicConfig; |
| 29 class QuicConnection; | 29 class QuicConnection; |
| 30 class QuicCryptoServerConfig; | 30 class QuicCryptoServerConfig; |
| 31 class ReliableQuicStream; | 31 class QuicStream; |
| 32 | 32 |
| 33 namespace test { | 33 namespace test { |
| 34 class QuicServerSessionBasePeer; | 34 class QuicServerSessionBasePeer; |
| 35 class QuicSimpleServerSessionPeer; | 35 class QuicSimpleServerSessionPeer; |
| 36 } // namespace test | 36 } // namespace test |
| 37 | 37 |
| 38 class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession { | 38 class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession { |
| 39 public: | 39 public: |
| 40 // Does not take ownership of |connection|. |crypto_config| must outlive the | 40 // Does not take ownership of |connection|. |crypto_config| must outlive the |
| 41 // session. |helper| must outlive any created crypto streams. | 41 // 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 | 131 // should go away once we fix http://b//27897982 |
| 132 int32_t BandwidthToCachedParameterBytesPerSecond( | 132 int32_t BandwidthToCachedParameterBytesPerSecond( |
| 133 const QuicBandwidth& bandwidth); | 133 const QuicBandwidth& bandwidth); |
| 134 | 134 |
| 135 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase); | 135 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace net | 138 } // namespace net |
| 139 | 139 |
| 140 #endif // NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ | 140 #endif // NET_QUIC_QUIC_SERVER_SESSION_BASE_H_ |
| OLD | NEW |