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 #include "net/quic/quic_client_promised_info.h" | 5 #include "net/quic/core/quic_client_promised_info.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/quic/spdy_utils.h" | 8 #include "net/quic/core/spdy_utils.h" |
9 | 9 |
10 using net::SpdyHeaderBlock; | 10 using net::SpdyHeaderBlock; |
11 using net::kPushPromiseTimeoutSecs; | 11 using net::kPushPromiseTimeoutSecs; |
12 using std::string; | 12 using std::string; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 QuicClientPromisedInfo::QuicClientPromisedInfo(QuicClientSessionBase* session, | 16 QuicClientPromisedInfo::QuicClientPromisedInfo(QuicClientSessionBase* session, |
17 QuicStreamId id, | 17 QuicStreamId id, |
18 string url) | 18 string url) |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 return FinalValidation(); | 114 return FinalValidation(); |
115 } | 115 } |
116 | 116 |
117 void QuicClientPromisedInfo::Cancel() { | 117 void QuicClientPromisedInfo::Cancel() { |
118 // Don't fire OnRendezvousResult() for client initiated cancel. | 118 // Don't fire OnRendezvousResult() for client initiated cancel. |
119 client_request_delegate_ = nullptr; | 119 client_request_delegate_ = nullptr; |
120 Reset(QUIC_STREAM_CANCELLED); | 120 Reset(QUIC_STREAM_CANCELLED); |
121 } | 121 } |
122 | 122 |
123 } // namespace net | 123 } // namespace net |
OLD | NEW |