Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
index 6a7fc6125a5a377ab45625d0aff3e263b1a67e3c..274e897e2b14ccf44f964e5f80c6496f07d12e80 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
@@ -31,6 +31,7 @@ |
#ifndef ServiceWorkerGlobalScopeProxy_h |
#define ServiceWorkerGlobalScopeProxy_h |
+#include "base/time/time.h" |
#include "core/workers/WorkerReportingProxy.h" |
#include "platform/heap/Handle.h" |
#include "platform/heap/HeapAllocator.h" |
@@ -111,6 +112,10 @@ class ServiceWorkerGlobalScopeProxy final |
void dispatchPaymentRequestEvent(int, |
const WebPaymentAppRequestData&) override; |
bool hasFetchEventHandler() override; |
+ void onNavigationPreloadSent(int fetchEventID, |
+ const WebURL&, |
+ base::TimeTicks sentTimestamp, |
+ base::Time sentWallTime) override; |
void onNavigationPreloadResponse( |
int fetchEventID, |
std::unique_ptr<WebURLResponse>, |
@@ -118,6 +123,7 @@ class ServiceWorkerGlobalScopeProxy final |
void onNavigationPreloadError( |
int fetchEventID, |
std::unique_ptr<WebServiceWorkerError>) override; |
+ void onNavigationPreloadCompleted(int fetchEventID) override; |
// WorkerReportingProxy overrides: |
void countFeature(UseCounter::Feature) override; |