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/quic/core/quic_alarm.h" | 12 #include "net/quic/core/quic_alarm.h" |
12 #include "net/quic/core/quic_client_push_promise_index.h" | 13 #include "net/quic/core/quic_client_push_promise_index.h" |
13 #include "net/quic/core/quic_client_session_base.h" | 14 #include "net/quic/core/quic_client_session_base.h" |
14 #include "net/quic/core/quic_protocol.h" | 15 #include "net/quic/core/quic_protocol.h" |
15 #include "net/quic/core/quic_spdy_stream.h" | 16 #include "net/quic/core/quic_spdy_stream.h" |
16 #include "net/spdy/spdy_framer.h" | 17 #include "net/spdy/spdy_framer.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 class QuicClientSessionBase; | 21 class QuicClientSessionBase; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // The promise will commit suicide eventually if it is not claimed | 104 // The promise will commit suicide eventually if it is not claimed |
104 // by a GET first. | 105 // by a GET first. |
105 std::unique_ptr<QuicAlarm> cleanup_alarm_; | 106 std::unique_ptr<QuicAlarm> cleanup_alarm_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); | 108 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace net | 111 } // namespace net |
111 | 112 |
112 #endif // NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ | 113 #endif // NET_QUIC_QUIC_CLIENT_PROMISED_INFO_H_ |
OLD | NEW |