| Index: third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h b/third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h
|
| index ecccee8861d1a88c43e276590fb94c3ef4b433cb..7f247e1522010a96b18e07e126a12f21a2ad10c7 100644
|
| --- a/third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h
|
| +++ b/third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.h
|
| @@ -51,15 +51,15 @@ public:
|
| // - the URL has a CORS supported scheme and
|
| // - the URL does not contain the userinfo production.
|
| static bool isLegalRedirectLocation(const KURL&, String& errorDescription);
|
| - static bool handleRedirect(SecurityOrigin*, ResourceRequest&, const ResourceResponse&, StoredCredentials, ResourceLoaderOptions&, String&);
|
| + static bool handleRedirect(const SecurityOrigin*, ResourceRequest&, const ResourceResponse&, StoredCredentials, ResourceLoaderOptions&, String&);
|
| };
|
|
|
| CORE_EXPORT bool isOnAccessControlResponseHeaderWhitelist(const String&);
|
|
|
| -void updateRequestForAccessControl(ResourceRequest&, SecurityOrigin*, StoredCredentials);
|
| -CORE_EXPORT ResourceRequest createAccessControlPreflightRequest(const ResourceRequest&, SecurityOrigin*);
|
| +void updateRequestForAccessControl(ResourceRequest&, const SecurityOrigin*, StoredCredentials);
|
| +CORE_EXPORT ResourceRequest createAccessControlPreflightRequest(const ResourceRequest&, const SecurityOrigin*);
|
|
|
| -bool passesAccessControlCheck(const ResourceResponse&, StoredCredentials, SecurityOrigin*, String& errorDescription, WebURLRequest::RequestContext requestType);
|
| +bool passesAccessControlCheck(const ResourceResponse&, StoredCredentials, const SecurityOrigin*, String& errorDescription, WebURLRequest::RequestContext requestType);
|
| bool passesPreflightStatusCheck(const ResourceResponse&, String& errorDescription);
|
| bool passesExternalPreflightCheck(const ResourceResponse&, String& errorDescription);
|
| CORE_EXPORT void parseAccessControlExposeHeadersAllowList(const String& headerValue, HTTPHeaderSet&);
|
|
|