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

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

Issue 795323003: Move Fetch API releted code to modules/fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/modules/fetch/Request.h ('k') | Source/modules/fetch/Request.idl » ('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 "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
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
OLDNEW
« no previous file with comments | « Source/modules/fetch/Request.h ('k') | Source/modules/fetch/Request.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698