| Index: third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| diff --git a/third_party/WebKit/Source/core/loader/WorkerFetchContext.h b/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| index 1689287a2d9430f06648e3174a32916c874d2caa..b55ccb97007f7ff5bbb27da7ad66a3096118fdf7 100644
|
| --- a/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| +++ b/third_party/WebKit/Source/core/loader/WorkerFetchContext.h
|
| @@ -55,20 +55,36 @@ class WorkerFetchContext final : public BaseFetchContext {
|
| SecurityViolationReportingPolicy) const override;
|
|
|
| // FetchContext implementation:
|
| - // TODO(horo): Implement more methods.
|
| std::unique_ptr<WebURLLoader> CreateURLLoader() override;
|
| void PrepareRequest(ResourceRequest&, RedirectType) override;
|
| bool IsControlledByServiceWorker() const override;
|
| RefPtr<WebTaskRunner> LoadingTaskRunner() const override;
|
| -
|
| + int64_t ServiceWorkerID() const override;
|
| void AddAdditionalRequestHeaders(ResourceRequest&,
|
| FetchResourceType) override;
|
| + void DispatchWillSendRequest(unsigned long,
|
| + ResourceRequest&,
|
| + const ResourceResponse&,
|
| + const FetchInitiatorInfo&) override;
|
| void DispatchDidReceiveResponse(unsigned long identifier,
|
| const ResourceResponse&,
|
| WebURLRequest::FrameType,
|
| WebURLRequest::RequestContext,
|
| Resource*,
|
| ResourceResponseType) override;
|
| + void DispatchDidReceiveData(unsigned long identifier,
|
| + const char* data,
|
| + int dataLength) override;
|
| + void DispatchDidReceiveEncodedData(unsigned long identifier,
|
| + int encodedDataLength) override;
|
| + void DispatchDidFinishLoading(unsigned long identifier,
|
| + double finishTime,
|
| + int64_t encodedDataLength,
|
| + int64_t decodedBodyLength) override;
|
| + void DispatchDidFail(unsigned long identifier,
|
| + const ResourceError&,
|
| + int64_t encodedDataLength,
|
| + bool isInternalRequest) override;
|
| void AddResourceTiming(const ResourceTimingInfo&) override;
|
| void PopulateResourceRequest(const KURL&,
|
| Resource::Type,
|
|
|