| 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 d453fde3190d68f6d33d5c7db1c853861d09dd31..21aad50a7b66947bdefe4a5735e36e2d61d3ce22 100644
|
| --- a/third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| +++ b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
|
| @@ -11,6 +11,7 @@ class SingleThreadTaskRunner;
|
|
|
| namespace blink {
|
|
|
| +class WebURL;
|
| class WebURLLoader;
|
| class WebURLRequest;
|
|
|
| @@ -36,6 +37,14 @@ class WebWorkerFetchContext {
|
|
|
| // Whether the fetch context is controlled by a service worker.
|
| virtual bool IsControlledByServiceWorker() const = 0;
|
| + virtual int64_t ServiceWorkerID() const { return 0; };
|
| + virtual void DidRunContentWithCertificateErrors(const WebURL& url) {}
|
| + virtual void DidDisplayContentWithCertificateErrors(const WebURL& url) {}
|
| +
|
| + // Set the information about the resource fetching context. Must be called on
|
| + // the main thread.
|
| + virtual void SetAppCacheHostID(int id) {}
|
| + virtual void SetDataSaverEnabled(bool flag) {}
|
| };
|
|
|
| } // namespace blink
|
|
|