| 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 "modules/fetch/FetchRequestData.h" | 6 #include "modules/fetch/FetchRequestData.h" |
| 7 | 7 |
| 8 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
| 9 #include "core/fetch/ResourceLoaderOptions.h" | 9 #include "core/fetch/ResourceLoaderOptions.h" |
| 10 #include "core/loader/ThreadableLoader.h" | 10 #include "core/loader/ThreadableLoader.h" |
| 11 #include "modules/fetch/BodyStreamBuffer.h" | 11 #include "modules/fetch/BodyStreamBuffer.h" |
| 12 #include "modules/fetch/DataConsumerTee.h" | 12 #include "modules/fetch/DataConsumerTee.h" |
| 13 #include "modules/fetch/FetchBlobDataConsumerHandle.h" | 13 #include "modules/fetch/FetchBlobDataConsumerHandle.h" |
| 14 #include "modules/fetch/FetchHeaderList.h" | 14 #include "modules/fetch/FetchHeaderList.h" |
| 15 #include "platform/network/ResourceRequest.h" | 15 #include "platform/network/ResourceRequest.h" |
| 16 #include "public/platform/WebServiceWorkerRequest.h" | |
| 17 #include "public/platform/WebURLRequest.h" | 16 #include "public/platform/WebURLRequest.h" |
| 17 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 FetchRequestData* FetchRequestData::create() | 21 FetchRequestData* FetchRequestData::create() |
| 22 { | 22 { |
| 23 return new FetchRequestData(); | 23 return new FetchRequestData(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 FetchRequestData* FetchRequestData::create(ExecutionContext* executionContext, c
onst WebServiceWorkerRequest& webRequest) | 26 FetchRequestData* FetchRequestData::create(ExecutionContext* executionContext, c
onst WebServiceWorkerRequest& webRequest) |
| 27 { | 27 { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 { | 102 { |
| 103 } | 103 } |
| 104 | 104 |
| 105 DEFINE_TRACE(FetchRequestData) | 105 DEFINE_TRACE(FetchRequestData) |
| 106 { | 106 { |
| 107 visitor->trace(m_buffer); | 107 visitor->trace(m_buffer); |
| 108 visitor->trace(m_headerList); | 108 visitor->trace(m_headerList); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| OLD | NEW |