Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/FetchResponseData.h" 5 #include "modules/fetch/FetchResponseData.h"
6 6
7 #include "bindings/core/v8/ScriptState.h" 7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/DOMArrayBuffer.h" 8 #include "core/dom/DOMArrayBuffer.h"
9 #include "core/fetch/FetchUtils.h"
10 #include "modules/fetch/BodyStreamBuffer.h" 9 #include "modules/fetch/BodyStreamBuffer.h"
11 #include "modules/fetch/FetchHeaderList.h" 10 #include "modules/fetch/FetchHeaderList.h"
11 #include "platform/loader/fetch/FetchUtils.h"
12 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" 12 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
13 #include "wtf/PtrUtil.h" 13 #include "wtf/PtrUtil.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 namespace { 17 namespace {
18 18
19 WebServiceWorkerResponseType fetchTypeToWebType( 19 WebServiceWorkerResponseType fetchTypeToWebType(
20 FetchResponseData::Type fetchType) { 20 FetchResponseData::Type fetchType) {
21 WebServiceWorkerResponseType webType = WebServiceWorkerResponseTypeDefault; 21 WebServiceWorkerResponseType webType = WebServiceWorkerResponseTypeDefault;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 } 296 }
297 } 297 }
298 298
299 DEFINE_TRACE(FetchResponseData) { 299 DEFINE_TRACE(FetchResponseData) {
300 visitor->trace(m_headerList); 300 visitor->trace(m_headerList);
301 visitor->trace(m_internalResponse); 301 visitor->trace(m_internalResponse);
302 visitor->trace(m_buffer); 302 visitor->trace(m_buffer);
303 } 303 }
304 304
305 } // namespace blink 305 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698