OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "modules/fetch/Response.h" | 5 #include "modules/fetch/Response.h" |
6 | 6 |
7 #include "bindings/core/v8/Dictionary.h" | 7 #include "bindings/core/v8/Dictionary.h" |
8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
9 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
10 #include "bindings/core/v8/V8ArrayBuffer.h" | 10 #include "bindings/core/v8/V8ArrayBuffer.h" |
11 #include "bindings/core/v8/V8ArrayBufferView.h" | 11 #include "bindings/core/v8/V8ArrayBufferView.h" |
12 #include "bindings/core/v8/V8Binding.h" | 12 #include "bindings/core/v8/V8Binding.h" |
13 #include "bindings/core/v8/V8Blob.h" | 13 #include "bindings/core/v8/V8Blob.h" |
14 #include "bindings/core/v8/V8FormData.h" | 14 #include "bindings/core/v8/V8FormData.h" |
15 #include "bindings/core/v8/V8HiddenValue.h" | 15 #include "bindings/core/v8/V8HiddenValue.h" |
16 #include "bindings/core/v8/V8URLSearchParams.h" | 16 #include "bindings/core/v8/V8URLSearchParams.h" |
17 #include "core/dom/DOMArrayBuffer.h" | 17 #include "core/dom/DOMArrayBuffer.h" |
18 #include "core/dom/DOMArrayBufferView.h" | 18 #include "core/dom/DOMArrayBufferView.h" |
19 #include "core/dom/URLSearchParams.h" | 19 #include "core/dom/URLSearchParams.h" |
20 #include "core/fetch/FetchUtils.h" | |
21 #include "core/fileapi/Blob.h" | 20 #include "core/fileapi/Blob.h" |
22 #include "core/html/FormData.h" | 21 #include "core/html/FormData.h" |
23 #include "core/streams/ReadableStreamOperations.h" | 22 #include "core/streams/ReadableStreamOperations.h" |
24 #include "modules/fetch/BlobBytesConsumer.h" | 23 #include "modules/fetch/BlobBytesConsumer.h" |
25 #include "modules/fetch/BodyStreamBuffer.h" | 24 #include "modules/fetch/BodyStreamBuffer.h" |
26 #include "modules/fetch/FormDataBytesConsumer.h" | 25 #include "modules/fetch/FormDataBytesConsumer.h" |
27 #include "modules/fetch/ResponseInit.h" | 26 #include "modules/fetch/ResponseInit.h" |
| 27 #include "platform/loader/fetch/FetchUtils.h" |
28 #include "platform/network/EncodedFormData.h" | 28 #include "platform/network/EncodedFormData.h" |
29 #include "platform/network/HTTPHeaderMap.h" | 29 #include "platform/network/HTTPHeaderMap.h" |
30 #include "platform/network/NetworkUtils.h" | 30 #include "platform/network/NetworkUtils.h" |
31 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" | 31 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" |
32 #include "wtf/RefPtr.h" | 32 #include "wtf/RefPtr.h" |
33 #include <memory> | 33 #include <memory> |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 namespace { | 37 namespace { |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 V8HiddenValue::internalBodyBuffer(scriptState->isolate()), bodyBuffer); | 476 V8HiddenValue::internalBodyBuffer(scriptState->isolate()), bodyBuffer); |
477 } | 477 } |
478 | 478 |
479 DEFINE_TRACE(Response) { | 479 DEFINE_TRACE(Response) { |
480 Body::trace(visitor); | 480 Body::trace(visitor); |
481 visitor->trace(m_response); | 481 visitor->trace(m_response); |
482 visitor->trace(m_headers); | 482 visitor->trace(m_headers); |
483 } | 483 } |
484 | 484 |
485 } // namespace blink | 485 } // namespace blink |
OLD | NEW |