Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
index 34c926f1e8219f03faba6e375cf43e123c3a645e..51dae1303c9b5897e26e6a68191b38368ef37030 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
@@ -36,6 +36,7 @@ |
#include "core/events/Event.h" |
#include "core/inspector/ConsoleMessage.h" |
#include "modules/EventTargetModules.h" |
+#include "modules/serviceworkers/NavigationPreloadOptions.h" |
#include "modules/serviceworkers/ServiceWorkerContainerClient.h" |
#include "public/platform/WebMessagePortChannel.h" |
#include "public/platform/WebSecurityOrigin.h" |
@@ -122,6 +123,18 @@ String ServiceWorker::state() const { |
} |
} |
+ScriptPromise ServiceWorker::getNavigationPreload(ScriptState* scriptState) { |
+ NOTIMPLEMENTED(); |
+ return ScriptPromise(); |
+} |
+ |
+ScriptPromise ServiceWorker::setNavigationPreload( |
+ ScriptState* scriptState, |
+ const NavigationPreloadOptions& options) { |
+ NOTIMPLEMENTED(); |
+ return ScriptPromise(); |
+} |
+ |
ServiceWorker* ServiceWorker::from( |
ExecutionContext* executionContext, |
std::unique_ptr<WebServiceWorker::Handle> handle) { |