Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
index f6adcf7191bb4e12e997eeffd7efecf1fde7435b..83e4e30ad4db61e2f105d6add0d9de66f5d8beba 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
@@ -40,6 +40,7 @@ |
#include "platform/wtf/RefPtr.h" |
#include "public/platform/WebAddressSpace.h" |
#include "public/platform/WebContentSecurityPolicy.h" |
+#include "public/web/WebDataSaverFlag.h" |
#include "public/web/WebDevToolsAgentClient.h" |
#include "public/web/WebFrameClient.h" |
#include "public/web/WebSharedWorkerClient.h" |
@@ -89,7 +90,8 @@ class WebSharedWorkerImpl final : public WebFrameClient, |
const WebString& name, |
const WebString& content_security_policy, |
WebContentSecurityPolicyType, |
- WebAddressSpace) override; |
+ WebAddressSpace, |
+ WebDataSaverFlag) override; |
void Connect(std::unique_ptr<WebMessagePortChannel>) override; |
void TerminateWorkerContext() override; |
@@ -119,7 +121,7 @@ class WebSharedWorkerImpl final : public WebFrameClient, |
void TerminateWorkerThread(); |
// Creates the shadow loader used for worker network requests. |
- void InitializeLoader(); |
+ void InitializeLoader(WebDataSaverFlag); |
void LoadShadowPage(); |
void DidReceiveScriptLoaderResponse(); |