| 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" | 7 #include "bindings/core/v8/ScriptState.h" |
| 8 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
| 9 #include "core/fetch/ResourceLoaderOptions.h" | |
| 10 #include "core/loader/ThreadableLoader.h" | 9 #include "core/loader/ThreadableLoader.h" |
| 11 #include "modules/credentialmanager/PasswordCredential.h" | 10 #include "modules/credentialmanager/PasswordCredential.h" |
| 12 #include "modules/fetch/BlobBytesConsumer.h" | 11 #include "modules/fetch/BlobBytesConsumer.h" |
| 13 #include "modules/fetch/BodyStreamBuffer.h" | 12 #include "modules/fetch/BodyStreamBuffer.h" |
| 14 #include "modules/fetch/BytesConsumer.h" | 13 #include "modules/fetch/BytesConsumer.h" |
| 15 #include "modules/fetch/FetchHeaderList.h" | 14 #include "modules/fetch/FetchHeaderList.h" |
| 16 #include "platform/HTTPNames.h" | 15 #include "platform/HTTPNames.h" |
| 16 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
| 17 #include "platform/network/ResourceRequest.h" | 17 #include "platform/network/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 } |
| 26 | 26 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 if (m_credentials != WebURLRequest::FetchCredentialsModePassword) | 110 if (m_credentials != WebURLRequest::FetchCredentialsModePassword) |
| 111 m_attachedCredential.clear(); | 111 m_attachedCredential.clear(); |
| 112 } | 112 } |
| 113 | 113 |
| 114 DEFINE_TRACE(FetchRequestData) { | 114 DEFINE_TRACE(FetchRequestData) { |
| 115 visitor->trace(m_buffer); | 115 visitor->trace(m_buffer); |
| 116 visitor->trace(m_headerList); | 116 visitor->trace(m_headerList); |
| 117 } | 117 } |
| 118 | 118 |
| 119 } // namespace blink | 119 } // namespace blink |
| OLD | NEW |