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

Unified Diff: Source/core/fetch/CrossOriginAccessControl.h

Issue 1016373002: Perform CORS access checks on Beacon redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/fetch/CrossOriginAccessControl.h
diff --git a/Source/core/fetch/CrossOriginAccessControl.h b/Source/core/fetch/CrossOriginAccessControl.h
index a5b3433053bb7a5782813e353229365be8ea93a2..aea4af23b8632302a4cc61d91a40a7a6e683add7 100644
--- a/Source/core/fetch/CrossOriginAccessControl.h
+++ b/Source/core/fetch/CrossOriginAccessControl.h
@@ -46,7 +46,7 @@ class SecurityOrigin;
class CrossOriginAccessControl {
public:
static bool isLegalRedirectLocation(const KURL&, String& errorDescription);
- static bool handleRedirect(ExecutionContext*, Resource*, SecurityOrigin*, ResourceRequest&, const ResourceResponse&, ResourceLoaderOptions&, String&);
+ static bool handleRedirect(ExecutionContext*, SecurityOrigin*, ResourceRequest&, const ResourceResponse&, StoredCredentials, ResourceLoaderOptions&, String&);
};
bool isOnAccessControlResponseHeaderWhitelist(const String&);

Powered by Google App Engine
This is Rietveld 408576698