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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "net/quic/quic_crypto_client_stream.h" | 11 #include "net/quic/core/quic_crypto_client_stream.h" |
12 #include "net/quic/quic_spdy_session.h" | 12 #include "net/quic/core/quic_spdy_session.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 class QuicClientPromisedInfo; | 16 class QuicClientPromisedInfo; |
17 class QuicClientPushPromiseIndex; | 17 class QuicClientPushPromiseIndex; |
18 class QuicSpdyClientStream; | 18 class QuicSpdyClientStream; |
19 | 19 |
20 // For client/http layer code. Lookup promised streams based on | 20 // For client/http layer code. Lookup promised streams based on |
21 // matching promised request url. The same map can be shared across | 21 // matching promised request url. The same map can be shared across |
22 // multiple sessions, since cross-origin pushes are allowed (subject | 22 // multiple sessions, since cross-origin pushes are allowed (subject |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 QuicClientPushPromiseIndex* push_promise_index_; | 129 QuicClientPushPromiseIndex* push_promise_index_; |
130 QuicPromisedByIdMap promised_by_id_; | 130 QuicPromisedByIdMap promised_by_id_; |
131 QuicStreamId largest_promised_stream_id_; | 131 QuicStreamId largest_promised_stream_id_; |
132 | 132 |
133 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); | 133 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); |
134 }; | 134 }; |
135 | 135 |
136 } // namespace net | 136 } // namespace net |
137 | 137 |
138 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ | 138 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ |
OLD | NEW |