Index: Source/core/loader/WorkerThreadableLoader.h |
diff --git a/Source/core/loader/WorkerThreadableLoader.h b/Source/core/loader/WorkerThreadableLoader.h |
index 735b4d63b4bec362e8404feb6946be5df5780ef5..7ea182f5342e3c5d365fce32753da1b1ad2dcaae 100644 |
--- a/Source/core/loader/WorkerThreadableLoader.h |
+++ b/Source/core/loader/WorkerThreadableLoader.h |
@@ -35,6 +35,7 @@ |
#include "core/loader/ThreadableLoaderClient.h" |
#include "core/loader/ThreadableLoaderClientWrapper.h" |
#include "platform/heap/Handle.h" |
+#include "platform/weborigin/Referrer.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -87,7 +88,7 @@ namespace blink { |
class MainThreadBridge final : public ThreadableLoaderClient { |
public: |
// All executed on the worker context's thread. |
- MainThreadBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassOwnPtr<ThreadableLoaderClient>, PassRefPtr<WorkerLoaderProxy>, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&, const String& outgoingReferrer); |
+ MainThreadBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassOwnPtr<ThreadableLoaderClient>, PassRefPtr<WorkerLoaderProxy>, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&, const ReferrerPolicy, const String& outgoingReferrer); |
void overrideTimeout(unsigned long timeoutMilliseconds); |
void cancel(); |
void destroy(); |
@@ -100,7 +101,7 @@ namespace blink { |
void mainThreadDestroy(ExecutionContext*); |
virtual ~MainThreadBridge(); |
- void mainThreadCreateLoader(PassOwnPtr<CrossThreadResourceRequestData>, ThreadableLoaderOptions, ResourceLoaderOptions, const String& outgoingReferrer, ExecutionContext*); |
+ void mainThreadCreateLoader(PassOwnPtr<CrossThreadResourceRequestData>, ThreadableLoaderOptions, ResourceLoaderOptions, const ReferrerPolicy, const String& outgoingReferrer, ExecutionContext*); |
void mainThreadOverrideTimeout(unsigned long timeoutMilliseconds, ExecutionContext*); |
void mainThreadCancel(ExecutionContext*); |
virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override; |