OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_PROMISED_INFO_H_ | 5 #ifndef NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ |
6 #define NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ | 6 #define NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ |
7 | 7 |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 #include "net/quic/core/quic_alarm.h" | 12 #include "net/quic/core/quic_alarm.h" |
13 #include "net/quic/core/quic_client_push_promise_index.h" | 13 #include "net/quic/core/quic_client_push_promise_index.h" |
14 #include "net/quic/core/quic_client_session_base.h" | 14 #include "net/quic/core/quic_client_session_base.h" |
15 #include "net/quic/core/quic_protocol.h" | 15 #include "net/quic/core/quic_protocol.h" |
16 #include "net/quic/core/quic_spdy_stream.h" | 16 #include "net/quic/core/quic_spdy_stream.h" |
17 #include "net/spdy/spdy_framer.h" | 17 #include "net/spdy/spdy_framer.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 class QuicClientSessionBase; | 21 class QuicClientSessionBase; |
22 class QuicDataToResend; | |
23 class QuicConnectionHelperInterface; | |
24 | 22 |
25 namespace test { | 23 namespace test { |
26 class QuicClientPromisedInfoPeer; | 24 class QuicClientPromisedInfoPeer; |
27 } // namespace test | 25 } // namespace test |
28 | 26 |
29 // QuicClientPromisedInfo tracks the client state of a server push | 27 // QuicClientPromisedInfo tracks the client state of a server push |
30 // stream from the time a PUSH_PROMISE is received until rendezvous | 28 // stream from the time a PUSH_PROMISE is received until rendezvous |
31 // between the promised response and the corresponding client request | 29 // between the promised response and the corresponding client request |
32 // is complete. | 30 // is complete. |
33 class NET_EXPORT_PRIVATE QuicClientPromisedInfo | 31 class NET_EXPORT_PRIVATE QuicClientPromisedInfo |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // The promise will commit suicide eventually if it is not claimed | 105 // The promise will commit suicide eventually if it is not claimed |
108 // by a GET first. | 106 // by a GET first. |
109 std::unique_ptr<QuicAlarm> cleanup_alarm_; | 107 std::unique_ptr<QuicAlarm> cleanup_alarm_; |
110 | 108 |
111 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); | 109 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); |
112 }; | 110 }; |
113 | 111 |
114 } // namespace net | 112 } // namespace net |
115 | 113 |
116 #endif // NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ | 114 #endif // NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ |
OLD | NEW |