Index: Source/core/fetch/CrossOriginAccessControl.h |
diff --git a/Source/core/fetch/CrossOriginAccessControl.h b/Source/core/fetch/CrossOriginAccessControl.h |
index 3fd12eae5a5d76650b5f285583a88437d3932f8a..7e78f8d518731f0d4b911049537baf6340d3cca7 100644 |
--- a/Source/core/fetch/CrossOriginAccessControl.h |
+++ b/Source/core/fetch/CrossOriginAccessControl.h |
@@ -36,6 +36,7 @@ namespace blink { |
typedef HashSet<String, CaseFoldingHash> HTTPHeaderSet; |
+class ExecutionContext; |
class Resource; |
struct ResourceLoaderOptions; |
class ResourceRequest; |
@@ -50,7 +51,7 @@ enum AccessControlStatus { |
class CrossOriginAccessControl { |
public: |
static bool isLegalRedirectLocation(const KURL&, String& errorDescription); |
- static bool handleRedirect(Resource*, SecurityOrigin*, ResourceRequest&, const ResourceResponse&, ResourceLoaderOptions&, String&); |
+ static bool handleRedirect(ExecutionContext*, Resource*, SecurityOrigin*, ResourceRequest&, const ResourceResponse&, ResourceLoaderOptions&, String&); |
}; |
bool isOnAccessControlResponseHeaderWhitelist(const String&); |
@@ -58,7 +59,7 @@ bool isOnAccessControlResponseHeaderWhitelist(const String&); |
void updateRequestForAccessControl(ResourceRequest&, SecurityOrigin*, StoredCredentials); |
ResourceRequest createAccessControlPreflightRequest(const ResourceRequest&, SecurityOrigin*); |
-bool passesAccessControlCheck(const ResourceResponse&, StoredCredentials, SecurityOrigin*, String& errorDescription); |
+bool passesAccessControlCheck(ExecutionContext*, const ResourceResponse&, StoredCredentials, SecurityOrigin*, String& errorDescription); |
bool passesPreflightStatusCheck(const ResourceResponse&, String& errorDescription); |
void parseAccessControlExposeHeadersAllowList(const String& headerValue, HTTPHeaderSet&); |