| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_CORE_QUIC_SPDY_SESSION_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_SPDY_SESSION_H_ |
| 6 #define NET_QUIC_CORE_QUIC_SPDY_SESSION_H_ | 6 #define NET_QUIC_CORE_QUIC_SPDY_SESSION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "net/base/net_export.h" | |
| 14 #include "net/quic/core/quic_header_list.h" | 13 #include "net/quic/core/quic_header_list.h" |
| 15 #include "net/quic/core/quic_headers_stream.h" | 14 #include "net/quic/core/quic_headers_stream.h" |
| 16 #include "net/quic/core/quic_session.h" | 15 #include "net/quic/core/quic_session.h" |
| 17 #include "net/quic/core/quic_spdy_stream.h" | 16 #include "net/quic/core/quic_spdy_stream.h" |
| 17 #include "net/quic/platform/api/quic_export.h" |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| 21 namespace test { | 21 namespace test { |
| 22 class QuicSpdySessionPeer; | 22 class QuicSpdySessionPeer; |
| 23 } // namespace test | 23 } // namespace test |
| 24 | 24 |
| 25 // A QUIC session with a headers stream. | 25 // A QUIC session with a headers stream. |
| 26 class NET_EXPORT_PRIVATE QuicSpdySession : public QuicSession { | 26 class QUIC_EXPORT_PRIVATE QuicSpdySession : public QuicSession { |
| 27 public: | 27 public: |
| 28 // Does not take ownership of |connection| or |visitor|. | 28 // Does not take ownership of |connection| or |visitor|. |
| 29 QuicSpdySession(QuicConnection* connection, | 29 QuicSpdySession(QuicConnection* connection, |
| 30 QuicSession::Visitor* visitor, | 30 QuicSession::Visitor* visitor, |
| 31 const QuicConfig& config); | 31 const QuicConfig& config); |
| 32 | 32 |
| 33 ~QuicSpdySession() override; | 33 ~QuicSpdySession() override; |
| 34 | 34 |
| 35 void Initialize() override; | 35 void Initialize() override; |
| 36 | 36 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // Set during handshake. If true, resources in x-associated-content and link | 132 // Set during handshake. If true, resources in x-associated-content and link |
| 133 // headers will be pushed. | 133 // headers will be pushed. |
| 134 bool server_push_enabled_; | 134 bool server_push_enabled_; |
| 135 | 135 |
| 136 DISALLOW_COPY_AND_ASSIGN(QuicSpdySession); | 136 DISALLOW_COPY_AND_ASSIGN(QuicSpdySession); |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace net | 139 } // namespace net |
| 140 | 140 |
| 141 #endif // NET_QUIC_CORE_QUIC_SPDY_SESSION_H_ | 141 #endif // NET_QUIC_CORE_QUIC_SPDY_SESSION_H_ |
| OLD | NEW |