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

Side by Side Diff: Source/modules/fetch/Request.cpp

Issue 1262603004: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/fetch/FetchResponseDataTest.cpp ('k') | Source/modules/fetch/RequestTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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/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/FetchManager.h" 16 #include "modules/fetch/FetchManager.h"
17 #include "modules/fetch/RequestInit.h" 17 #include "modules/fetch/RequestInit.h"
18 #include "platform/network/HTTPParsers.h" 18 #include "platform/network/HTTPParsers.h"
19 #include "platform/network/ResourceRequest.h" 19 #include "platform/network/ResourceRequest.h"
20 #include "platform/weborigin/Referrer.h" 20 #include "platform/weborigin/Referrer.h"
21 #include "public/platform/WebServiceWorkerRequest.h"
22 #include "public/platform/WebURLRequest.h" 21 #include "public/platform/WebURLRequest.h"
22 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 FetchRequestData* createCopyOfFetchRequestDataForFetch(ScriptState* scriptState, const FetchRequestData* original) 26 FetchRequestData* createCopyOfFetchRequestDataForFetch(ScriptState* scriptState, const FetchRequestData* original)
27 { 27 {
28 FetchRequestData* request = FetchRequestData::create(); 28 FetchRequestData* request = FetchRequestData::create();
29 request->setURL(original->url()); 29 request->setURL(original->url());
30 request->setMethod(original->method()); 30 request->setMethod(original->method());
31 request->setHeaderList(original->headerList()->clone()); 31 request->setHeaderList(original->headerList()->clone());
32 request->setUnsafeRequestFlag(true); 32 request->setUnsafeRequestFlag(true);
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 } 554 }
555 555
556 DEFINE_TRACE(Request) 556 DEFINE_TRACE(Request)
557 { 557 {
558 Body::trace(visitor); 558 Body::trace(visitor);
559 visitor->trace(m_request); 559 visitor->trace(m_request);
560 visitor->trace(m_headers); 560 visitor->trace(m_headers);
561 } 561 }
562 562
563 } // namespace blink 563 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/fetch/FetchResponseDataTest.cpp ('k') | Source/modules/fetch/RequestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698