OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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_push_promise_index.h" | 5 #include "net/quic/core/quic_client_push_promise_index.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "net/quic/quic_client_promised_info.h" | 9 #include "net/quic/core/quic_client_promised_info.h" |
10 #include "net/quic/spdy_utils.h" | 10 #include "net/quic/core/spdy_utils.h" |
11 | 11 |
12 using net::SpdyHeaderBlock; | 12 using net::SpdyHeaderBlock; |
13 using std::string; | 13 using std::string; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 QuicClientPushPromiseIndex::QuicClientPushPromiseIndex() {} | 17 QuicClientPushPromiseIndex::QuicClientPushPromiseIndex() {} |
18 | 18 |
19 QuicClientPushPromiseIndex::~QuicClientPushPromiseIndex() {} | 19 QuicClientPushPromiseIndex::~QuicClientPushPromiseIndex() {} |
20 | 20 |
(...skipping 19 matching lines...) Expand all Loading... |
40 QuicAsyncStatus rv = promised->HandleClientRequest(request, delegate); | 40 QuicAsyncStatus rv = promised->HandleClientRequest(request, delegate); |
41 if (rv == QUIC_PENDING) { | 41 if (rv == QUIC_PENDING) { |
42 *handle = promised; | 42 *handle = promised; |
43 } | 43 } |
44 return rv; | 44 return rv; |
45 } | 45 } |
46 return QUIC_FAILURE; | 46 return QUIC_FAILURE; |
47 } | 47 } |
48 | 48 |
49 } // namespace net | 49 } // namespace net |
OLD | NEW |