Index: third_party/WebKit/Source/core/loader/BeaconLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/BeaconLoader.h b/third_party/WebKit/Source/core/loader/BeaconLoader.h |
index c11b2ec884142b04a1a712e0a161b7412e312c8e..4b0b59a30f1da5dc7253040a119f77a375abc61e 100644 |
--- a/third_party/WebKit/Source/core/loader/BeaconLoader.h |
+++ b/third_party/WebKit/Source/core/loader/BeaconLoader.h |
@@ -6,6 +6,7 @@ |
#define BeaconLoader_h |
#include "core/CoreExport.h" |
+#include "core/fetch/ResourceLoaderOptions.h" // CORSEnabled |
#include "core/loader/PingLoader.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebURLLoaderClient.h" |
@@ -36,9 +37,10 @@ public: |
private: |
class Sender; |
- BeaconLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredCredentials); |
+ BeaconLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredCredentials, CORSEnabled); |
RefPtr<SecurityOrigin> m_beaconOrigin; |
+ bool m_redirectsFollowCORS; |
// WebURLLoaderClient |
void willFollowRedirect(WebURLLoader*, WebURLRequest&, const WebURLResponse&, int64_t encodedDataLength) override; |