summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/ThreadableLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/ThreadableLoader.h')
-rw-r--r--WebCore/loader/ThreadableLoader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/loader/ThreadableLoader.h b/WebCore/loader/ThreadableLoader.h
index 0a4c4e3..1ac12cb 100644
--- a/WebCore/loader/ThreadableLoader.h
+++ b/WebCore/loader/ThreadableLoader.h
@@ -58,17 +58,17 @@ namespace WebCore {
DoNotAllowStoredCredentials
};
- enum RedirectOriginCheck {
- RequireSameRedirectOrigin,
- AllowDifferentRedirectOrigin
+ enum CrossOriginRedirectPolicy {
+ DenyCrossOriginRedirect,
+ AllowCrossOriginRedirect
};
// Useful for doing loader operations from any thread (not threadsafe,
// just able to run on threads other than the main thread).
- class ThreadableLoader : Noncopyable {
+ class ThreadableLoader : public Noncopyable {
public:
static void loadResourceSynchronously(ScriptExecutionContext*, const ResourceRequest&, ThreadableLoaderClient&, StoredCredentials);
- static PassRefPtr<ThreadableLoader> create(ScriptExecutionContext*, ThreadableLoaderClient*, const ResourceRequest&, LoadCallbacks, ContentSniff, StoredCredentials, RedirectOriginCheck);
+ static PassRefPtr<ThreadableLoader> create(ScriptExecutionContext*, ThreadableLoaderClient*, const ResourceRequest&, LoadCallbacks, ContentSniff, StoredCredentials, CrossOriginRedirectPolicy);
virtual void cancel() = 0;
void ref() { refThreadableLoader(); }