| 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 "config.h" | 5 #include "config.h" |
| 6 #include "Request.h" | 6 #include "modules/fetch/Request.h" |
| 7 | 7 |
| 8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/dom/ExecutionContext.h" | 10 #include "core/dom/ExecutionContext.h" |
| 11 #include "core/fetch/FetchUtils.h" | 11 #include "core/fetch/FetchUtils.h" |
| 12 #include "core/fetch/ResourceLoaderOptions.h" | 12 #include "core/fetch/ResourceLoaderOptions.h" |
| 13 #include "core/loader/ThreadableLoader.h" | 13 #include "core/loader/ThreadableLoader.h" |
| 14 #include "modules/serviceworkers/FetchManager.h" | 14 #include "modules/fetch/FetchManager.h" |
| 15 #include "modules/serviceworkers/RequestInit.h" | 15 #include "modules/fetch/RequestInit.h" |
| 16 #include "platform/network/HTTPParsers.h" | 16 #include "platform/network/HTTPParsers.h" |
| 17 #include "platform/network/ResourceRequest.h" | 17 #include "platform/network/ResourceRequest.h" |
| 18 #include "platform/weborigin/Referrer.h" | 18 #include "platform/weborigin/Referrer.h" |
| 19 #include "public/platform/WebServiceWorkerRequest.h" | 19 #include "public/platform/WebServiceWorkerRequest.h" |
| 20 #include "public/platform/WebURLRequest.h" | 20 #include "public/platform/WebURLRequest.h" |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 | 23 |
| 24 FetchRequestData* createCopyOfFetchRequestDataForFetch(ExecutionContext* context
, const FetchRequestData* original) | 24 FetchRequestData* createCopyOfFetchRequestDataForFetch(ExecutionContext* context
, const FetchRequestData* original) |
| 25 { | 25 { |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 } | 394 } |
| 395 | 395 |
| 396 void Request::trace(Visitor* visitor) | 396 void Request::trace(Visitor* visitor) |
| 397 { | 397 { |
| 398 Body::trace(visitor); | 398 Body::trace(visitor); |
| 399 visitor->trace(m_request); | 399 visitor->trace(m_request); |
| 400 visitor->trace(m_headers); | 400 visitor->trace(m_headers); |
| 401 } | 401 } |
| 402 | 402 |
| 403 } // namespace blink | 403 } // namespace blink |
| OLD | NEW |