| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| index 1028a5923fc0c8a281c4f294f958516a6837b193..b94b6f72cdb59c5f92cb76064d9071309a560c9f 100644
|
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| @@ -46,6 +46,7 @@ struct WebNotificationData;
|
| struct WebPaymentAppRequestData;
|
| struct WebServiceWorkerClientInfo;
|
| struct WebServiceWorkerError;
|
| +class WebURL;
|
| class WebURLResponse;
|
|
|
| // A proxy interface to talk to the worker's GlobalScope implementation.
|
| @@ -100,6 +101,10 @@ class WebServiceWorkerContextProxy {
|
| virtual void dispatchPaymentRequestEvent(int eventID,
|
| const WebPaymentAppRequestData&) = 0;
|
|
|
| + virtual void onNavigationPreloadSent(int fetchEventID,
|
| + const WebURL&,
|
| + double sentTimestamp,
|
| + double sentWallTime) = 0;
|
| virtual void onNavigationPreloadResponse(
|
| int fetchEventID,
|
| std::unique_ptr<WebURLResponse>,
|
| @@ -107,6 +112,7 @@ class WebServiceWorkerContextProxy {
|
| virtual void onNavigationPreloadError(
|
| int fetchEventID,
|
| std::unique_ptr<WebServiceWorkerError>) = 0;
|
| + virtual void onNavigationPreloadCompleted(int fetchEventID) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|