| 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/FetchRequestData.h" | 5 #include "modules/fetch/FetchRequestData.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptState.h" | |
| 8 #include "core/dom/ExecutionContext.h" | 7 #include "core/dom/ExecutionContext.h" |
| 9 #include "core/loader/ThreadableLoader.h" | 8 #include "core/loader/ThreadableLoader.h" |
| 10 #include "modules/credentialmanager/PasswordCredential.h" | 9 #include "modules/credentialmanager/PasswordCredential.h" |
| 11 #include "modules/fetch/BlobBytesConsumer.h" | 10 #include "modules/fetch/BlobBytesConsumer.h" |
| 12 #include "modules/fetch/BodyStreamBuffer.h" | 11 #include "modules/fetch/BodyStreamBuffer.h" |
| 13 #include "modules/fetch/BytesConsumer.h" | 12 #include "modules/fetch/BytesConsumer.h" |
| 14 #include "modules/fetch/FetchHeaderList.h" | 13 #include "modules/fetch/FetchHeaderList.h" |
| 15 #include "platform/HTTPNames.h" | 14 #include "platform/HTTPNames.h" |
| 15 #include "platform/bindings/ScriptState.h" |
| 16 #include "platform/loader/fetch/ResourceLoaderOptions.h" | 16 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
| 17 #include "platform/loader/fetch/ResourceRequest.h" | 17 #include "platform/loader/fetch/ResourceRequest.h" |
| 18 #include "public/platform/WebURLRequest.h" | 18 #include "public/platform/WebURLRequest.h" |
| 19 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" | 19 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 | 22 |
| 23 FetchRequestData* FetchRequestData::Create() { | 23 FetchRequestData* FetchRequestData::Create() { |
| 24 return new FetchRequestData(); | 24 return new FetchRequestData(); |
| 25 } | 25 } |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 if (credentials_ != WebURLRequest::kFetchCredentialsModePassword) | 115 if (credentials_ != WebURLRequest::kFetchCredentialsModePassword) |
| 116 attached_credential_.Clear(); | 116 attached_credential_.Clear(); |
| 117 } | 117 } |
| 118 | 118 |
| 119 DEFINE_TRACE(FetchRequestData) { | 119 DEFINE_TRACE(FetchRequestData) { |
| 120 visitor->Trace(buffer_); | 120 visitor->Trace(buffer_); |
| 121 visitor->Trace(header_list_); | 121 visitor->Trace(header_list_); |
| 122 } | 122 } |
| 123 | 123 |
| 124 } // namespace blink | 124 } // namespace blink |
| OLD | NEW |