| Index: content/browser/shared_worker/shared_worker_instance.h
|
| diff --git a/content/browser/shared_worker/shared_worker_instance.h b/content/browser/shared_worker/shared_worker_instance.h
|
| index 9c2359dff3abd8068aa2d8d3ae6d62b21426e40b..c544807c41a499ed21f8c98075e4c095931d4938 100644
|
| --- a/content/browser/shared_worker/shared_worker_instance.h
|
| +++ b/content/browser/shared_worker/shared_worker_instance.h
|
| @@ -11,6 +11,7 @@
|
| #include "content/common/content_export.h"
|
| #include "third_party/WebKit/public/platform/WebAddressSpace.h"
|
| #include "third_party/WebKit/public/platform/WebContentSecurityPolicy.h"
|
| +#include "third_party/WebKit/public/web/WebDataSaverFlag.h"
|
| #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -29,7 +30,8 @@ class CONTENT_EXPORT SharedWorkerInstance {
|
| blink::WebAddressSpace creation_address_space,
|
| ResourceContext* resource_context,
|
| const WorkerStoragePartitionId& partition_id,
|
| - blink::WebSharedWorkerCreationContextType creation_context_type);
|
| + blink::WebSharedWorkerCreationContextType creation_context_type,
|
| + blink::WebDataSaverFlag data_saver_flag);
|
| SharedWorkerInstance(const SharedWorkerInstance& other);
|
| ~SharedWorkerInstance();
|
|
|
| @@ -64,6 +66,7 @@ class CONTENT_EXPORT SharedWorkerInstance {
|
| blink::WebSharedWorkerCreationContextType creation_context_type() const {
|
| return creation_context_type_;
|
| }
|
| + blink::WebDataSaverFlag data_saver_flag() const { return data_saver_flag_; }
|
|
|
| private:
|
| const GURL url_;
|
| @@ -74,6 +77,7 @@ class CONTENT_EXPORT SharedWorkerInstance {
|
| ResourceContext* const resource_context_;
|
| const WorkerStoragePartitionId partition_id_;
|
| const blink::WebSharedWorkerCreationContextType creation_context_type_;
|
| + const blink::WebDataSaverFlag data_saver_flag_;
|
| };
|
|
|
| } // namespace content
|
|
|