| 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 <memory> | 7 #include <memory> |
| 8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.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/V8BindingForCore.h" | 12 #include "bindings/core/v8/V8BindingForCore.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/V8PrivateProperty.h" | |
| 16 #include "bindings/core/v8/V8URLSearchParams.h" | 15 #include "bindings/core/v8/V8URLSearchParams.h" |
| 17 #include "core/dom/DOMArrayBuffer.h" | 16 #include "core/dom/DOMArrayBuffer.h" |
| 18 #include "core/dom/DOMArrayBufferView.h" | 17 #include "core/dom/DOMArrayBufferView.h" |
| 19 #include "core/dom/ExecutionContext.h" | 18 #include "core/dom/ExecutionContext.h" |
| 20 #include "core/dom/URLSearchParams.h" | 19 #include "core/dom/URLSearchParams.h" |
| 21 #include "core/fileapi/Blob.h" | 20 #include "core/fileapi/Blob.h" |
| 22 #include "core/frame/UseCounter.h" | 21 #include "core/frame/UseCounter.h" |
| 23 #include "core/html/FormData.h" | 22 #include "core/html/FormData.h" |
| 24 #include "core/streams/ReadableStreamOperations.h" | 23 #include "core/streams/ReadableStreamOperations.h" |
| 25 #include "modules/fetch/BlobBytesConsumer.h" | 24 #include "modules/fetch/BlobBytesConsumer.h" |
| 26 #include "modules/fetch/BodyStreamBuffer.h" | 25 #include "modules/fetch/BodyStreamBuffer.h" |
| 27 #include "modules/fetch/FormDataBytesConsumer.h" | 26 #include "modules/fetch/FormDataBytesConsumer.h" |
| 28 #include "modules/fetch/ResponseInit.h" | 27 #include "modules/fetch/ResponseInit.h" |
| 29 #include "platform/bindings/ScriptState.h" | 28 #include "platform/bindings/ScriptState.h" |
| 29 #include "platform/bindings/V8PrivateProperty.h" |
| 30 #include "platform/loader/fetch/FetchUtils.h" | 30 #include "platform/loader/fetch/FetchUtils.h" |
| 31 #include "platform/network/EncodedFormData.h" | 31 #include "platform/network/EncodedFormData.h" |
| 32 #include "platform/network/HTTPHeaderMap.h" | 32 #include "platform/network/HTTPHeaderMap.h" |
| 33 #include "platform/network/NetworkUtils.h" | 33 #include "platform/network/NetworkUtils.h" |
| 34 #include "platform/wtf/RefPtr.h" | 34 #include "platform/wtf/RefPtr.h" |
| 35 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" | 35 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 namespace { | 39 namespace { |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 .Set(response.As<v8::Object>(), body_buffer); | 454 .Set(response.As<v8::Object>(), body_buffer); |
| 455 } | 455 } |
| 456 | 456 |
| 457 DEFINE_TRACE(Response) { | 457 DEFINE_TRACE(Response) { |
| 458 Body::Trace(visitor); | 458 Body::Trace(visitor); |
| 459 visitor->Trace(response_); | 459 visitor->Trace(response_); |
| 460 visitor->Trace(headers_); | 460 visitor->Trace(headers_); |
| 461 } | 461 } |
| 462 | 462 |
| 463 } // namespace blink | 463 } // namespace blink |
| OLD | NEW |