| 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_CORE_QUIC_CLIENT_PROMISED_INFO_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_CLIENT_PROMISED_INFO_H_ |
| 6 #define NET_QUIC_CORE_QUIC_CLIENT_PROMISED_INFO_H_ | 6 #define NET_QUIC_CORE_QUIC_CLIENT_PROMISED_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 | 10 |
| 11 #include "net/quic/core/quic_alarm.h" | 11 #include "net/quic/core/quic_alarm.h" |
| 12 #include "net/quic/core/quic_client_push_promise_index.h" | 12 #include "net/quic/core/quic_client_push_promise_index.h" |
| 13 #include "net/quic/core/quic_client_session_base.h" | 13 #include "net/quic/core/quic_client_session_base.h" |
| 14 #include "net/quic/core/quic_packets.h" | 14 #include "net/quic/core/quic_packets.h" |
| 15 #include "net/quic/core/quic_spdy_stream.h" | 15 #include "net/quic/core/quic_spdy_stream.h" |
| 16 #include "net/quic/platform/api/quic_export.h" | 16 #include "net/quic/platform/api/quic_export.h" |
| 17 #include "net/spdy/spdy_framer.h" | 17 #include "net/spdy/core/spdy_framer.h" |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| 21 class QuicClientSessionBase; | 21 class QuicClientSessionBase; |
| 22 | 22 |
| 23 namespace test { | 23 namespace test { |
| 24 class QuicClientPromisedInfoPeer; | 24 class QuicClientPromisedInfoPeer; |
| 25 } // namespace test | 25 } // namespace test |
| 26 | 26 |
| 27 // QuicClientPromisedInfo tracks the client state of a server push | 27 // QuicClientPromisedInfo tracks the client state of a server push |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // The promise will commit suicide eventually if it is not claimed | 105 // The promise will commit suicide eventually if it is not claimed |
| 106 // by a GET first. | 106 // by a GET first. |
| 107 std::unique_ptr<QuicAlarm> cleanup_alarm_; | 107 std::unique_ptr<QuicAlarm> cleanup_alarm_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); | 109 DISALLOW_COPY_AND_ASSIGN(QuicClientPromisedInfo); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace net | 112 } // namespace net |
| 113 | 113 |
| 114 #endif // NET_QUIC_CORE_QUIC_CLIENT_PROMISED_INFO_H_ | 114 #endif // NET_QUIC_CORE_QUIC_CLIENT_PROMISED_INFO_H_ |
| OLD | NEW |