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

Side by Side Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 * 29 *
30 */ 30 */
31 31
32 #include "core/loader/PingLoader.h" 32 #include "core/loader/PingLoader.h"
33 33
34 #include "core/dom/ContextLifecycleObserver.h" 34 #include "core/dom/ContextLifecycleObserver.h"
35 #include "core/dom/DOMArrayBufferView.h" 35 #include "core/dom/DOMArrayBufferView.h"
36 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
37 #include "core/dom/SecurityContext.h" 37 #include "core/dom/SecurityContext.h"
38 #include "core/fetch/CrossOriginAccessControl.h"
39 #include "core/fetch/FetchContext.h"
40 #include "core/fetch/FetchInitiatorTypeNames.h"
41 #include "core/fetch/FetchUtils.h"
42 #include "core/fetch/ResourceFetcher.h"
43 #include "core/fetch/UniqueIdentifier.h"
44 #include "core/fileapi/File.h" 38 #include "core/fileapi/File.h"
45 #include "core/frame/FrameConsole.h" 39 #include "core/frame/FrameConsole.h"
46 #include "core/frame/LocalFrame.h" 40 #include "core/frame/LocalFrame.h"
47 #include "core/frame/csp/ContentSecurityPolicy.h" 41 #include "core/frame/csp/ContentSecurityPolicy.h"
48 #include "core/html/FormData.h" 42 #include "core/html/FormData.h"
49 #include "core/inspector/ConsoleMessage.h" 43 #include "core/inspector/ConsoleMessage.h"
50 #include "core/inspector/InspectorInstrumentation.h" 44 #include "core/inspector/InspectorInstrumentation.h"
51 #include "core/inspector/InspectorTraceEvents.h" 45 #include "core/inspector/InspectorTraceEvents.h"
52 #include "core/loader/FrameLoader.h" 46 #include "core/loader/FrameLoader.h"
53 #include "core/loader/FrameLoaderClient.h" 47 #include "core/loader/FrameLoaderClient.h"
54 #include "core/loader/MixedContentChecker.h" 48 #include "core/loader/MixedContentChecker.h"
55 #include "core/page/Page.h" 49 #include "core/page/Page.h"
56 #include "platform/WebFrameScheduler.h" 50 #include "platform/WebFrameScheduler.h"
57 #include "platform/exported/WrappedResourceRequest.h" 51 #include "platform/exported/WrappedResourceRequest.h"
58 #include "platform/exported/WrappedResourceResponse.h" 52 #include "platform/exported/WrappedResourceResponse.h"
53 #include "platform/loader/fetch/CrossOriginAccessControl.h"
54 #include "platform/loader/fetch/FetchContext.h"
55 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
56 #include "platform/loader/fetch/FetchUtils.h"
57 #include "platform/loader/fetch/ResourceFetcher.h"
58 #include "platform/loader/fetch/UniqueIdentifier.h"
59 #include "platform/network/EncodedFormData.h" 59 #include "platform/network/EncodedFormData.h"
60 #include "platform/network/ParsedContentType.h" 60 #include "platform/network/ParsedContentType.h"
61 #include "platform/network/ResourceError.h" 61 #include "platform/network/ResourceError.h"
62 #include "platform/network/ResourceRequest.h" 62 #include "platform/network/ResourceRequest.h"
63 #include "platform/network/ResourceResponse.h" 63 #include "platform/network/ResourceResponse.h"
64 #include "platform/weborigin/SecurityOrigin.h" 64 #include "platform/weborigin/SecurityOrigin.h"
65 #include "platform/weborigin/SecurityPolicy.h" 65 #include "platform/weborigin/SecurityPolicy.h"
66 #include "public/platform/Platform.h" 66 #include "public/platform/Platform.h"
67 #include "public/platform/WebURLLoader.h" 67 #include "public/platform/WebURLLoader.h"
68 #include "public/platform/WebURLRequest.h" 68 #include "public/platform/WebURLRequest.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 bool PingLoader::sendBeacon(LocalFrame* frame, 568 bool PingLoader::sendBeacon(LocalFrame* frame,
569 int allowance, 569 int allowance,
570 const KURL& beaconURL, 570 const KURL& beaconURL,
571 Blob* data, 571 Blob* data,
572 int& payloadLength) { 572 int& payloadLength) {
573 BeaconBlob beacon(data); 573 BeaconBlob beacon(data);
574 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength); 574 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength);
575 } 575 }
576 576
577 } // namespace blink 577 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.h ('k') | third_party/WebKit/Source/core/loader/PingLoaderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698