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

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

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/loader/FrameLoader.h" 47 #include "core/loader/FrameLoader.h"
48 #include "core/loader/MixedContentChecker.h" 48 #include "core/loader/MixedContentChecker.h"
49 #include "core/page/Page.h" 49 #include "core/page/Page.h"
50 #include "platform/WebFrameScheduler.h" 50 #include "platform/WebFrameScheduler.h"
51 #include "platform/exported/WrappedResourceRequest.h" 51 #include "platform/exported/WrappedResourceRequest.h"
52 #include "platform/exported/WrappedResourceResponse.h" 52 #include "platform/exported/WrappedResourceResponse.h"
53 #include "platform/loader/fetch/CrossOriginAccessControl.h" 53 #include "platform/loader/fetch/CrossOriginAccessControl.h"
54 #include "platform/loader/fetch/FetchContext.h" 54 #include "platform/loader/fetch/FetchContext.h"
55 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 55 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
56 #include "platform/loader/fetch/FetchUtils.h" 56 #include "platform/loader/fetch/FetchUtils.h"
57 #include "platform/loader/fetch/ResourceError.h"
57 #include "platform/loader/fetch/ResourceFetcher.h" 58 #include "platform/loader/fetch/ResourceFetcher.h"
59 #include "platform/loader/fetch/ResourceRequest.h"
60 #include "platform/loader/fetch/ResourceResponse.h"
58 #include "platform/loader/fetch/UniqueIdentifier.h" 61 #include "platform/loader/fetch/UniqueIdentifier.h"
59 #include "platform/network/EncodedFormData.h" 62 #include "platform/network/EncodedFormData.h"
60 #include "platform/network/ParsedContentType.h" 63 #include "platform/network/ParsedContentType.h"
61 #include "platform/network/ResourceError.h"
62 #include "platform/network/ResourceRequest.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"
69 #include "public/platform/WebURLResponse.h" 69 #include "public/platform/WebURLResponse.h"
70 #include "wtf/Compiler.h" 70 #include "wtf/Compiler.h"
71 #include "wtf/Functional.h" 71 #include "wtf/Functional.h"
72 #include "wtf/PtrUtil.h" 72 #include "wtf/PtrUtil.h"
73 73
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 bool PingLoader::sendBeacon(LocalFrame* frame, 557 bool PingLoader::sendBeacon(LocalFrame* frame,
558 int allowance, 558 int allowance,
559 const KURL& beaconURL, 559 const KURL& beaconURL,
560 Blob* data, 560 Blob* data,
561 int& payloadLength) { 561 int& payloadLength) {
562 BeaconBlob beacon(data); 562 BeaconBlob beacon(data);
563 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength); 563 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength);
564 } 564 }
565 565
566 } // namespace blink 566 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698