| Index: third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| diff --git a/third_party/WebKit/public/platform/WebWorkerFetchContext.h b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| index cbe3ac73b4ec8b63744e246587d71d2a8753b7b4..5804d8af217b08a71c895944f183fcdaa786c15a 100644
|
| --- a/third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| +++ b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef WebWorkerFetchContext_h
|
| #define WebWorkerFetchContext_h
|
|
|
| +#include "public/platform/WebURL.h"
|
| +
|
| namespace base {
|
| class SingleThreadTaskRunner;
|
| } // namespace base
|
| @@ -40,6 +42,12 @@ class WebWorkerFetchContext {
|
| // The flag for Data Saver.
|
| virtual void SetDataSaverEnabled(bool) = 0;
|
| virtual bool IsDataSaverEnabled() const = 0;
|
| +
|
| + // The URL that should be consulted for the third-party cookie blocking
|
| + // policy, as defined in Section 2.1.1 and 2.1.2 of
|
| + // https://tools.ietf.org/html/draft-west-first-party-cookies.
|
| + // See content::URLRequest::first_party_for_cookies() for details.
|
| + virtual WebURL FirstPartyForCookies() const = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|