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

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

Issue 1373693002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 2 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 "config.h" 5 #include "config.h"
6 #include "modules/fetch/Response.h" 6 #include "modules/fetch/Response.h"
7 7
8 #include "bindings/core/v8/Dictionary.h" 8 #include "bindings/core/v8/Dictionary.h"
9 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
10 #include "core/dom/DOMArrayBuffer.h" 10 #include "core/dom/DOMArrayBuffer.h"
11 #include "core/dom/DOMArrayBufferView.h" 11 #include "core/dom/DOMArrayBufferView.h"
12 #include "core/fileapi/Blob.h" 12 #include "core/fileapi/Blob.h"
13 #include "core/html/FormData.h" 13 #include "core/html/FormData.h"
14 #include "modules/fetch/BodyStreamBuffer.h" 14 #include "modules/fetch/BodyStreamBuffer.h"
15 #include "modules/fetch/FetchBlobDataConsumerHandle.h" 15 #include "modules/fetch/FetchBlobDataConsumerHandle.h"
16 #include "modules/fetch/ResponseInit.h" 16 #include "modules/fetch/ResponseInit.h"
17 #include "platform/network/EncodedFormData.h" 17 #include "platform/network/EncodedFormData.h"
18 #include "platform/network/HTTPHeaderMap.h" 18 #include "platform/network/HTTPHeaderMap.h"
19 #include "public/platform/WebServiceWorkerResponse.h" 19 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
20 #include "wtf/RefPtr.h" 20 #include "wtf/RefPtr.h"
21 21
22 namespace blink { 22 namespace blink {
23 23
24 namespace { 24 namespace {
25 25
26 FetchResponseData* createFetchResponseDataFromWebResponse(ExecutionContext* exec utionContext, const WebServiceWorkerResponse& webResponse) 26 FetchResponseData* createFetchResponseDataFromWebResponse(ExecutionContext* exec utionContext, const WebServiceWorkerResponse& webResponse)
27 { 27 {
28 FetchResponseData* response = nullptr; 28 FetchResponseData* response = nullptr;
29 if (webResponse.status() > 0) 29 if (webResponse.status() > 0)
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 } 401 }
402 402
403 DEFINE_TRACE(Response) 403 DEFINE_TRACE(Response)
404 { 404 {
405 Body::trace(visitor); 405 Body::trace(visitor);
406 visitor->trace(m_response); 406 visitor->trace(m_response);
407 visitor->trace(m_headers); 407 visitor->trace(m_headers);
408 } 408 }
409 409
410 } // namespace blink 410 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/RequestTest.cpp ('k') | third_party/WebKit/Source/modules/fetch/ResponseTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698