#include "third_party/blink/renderer/modules/service_worker/navigation_preload_manager.h"
#include <memory>
#include "third_party/blink/renderer/bindings/core/v8/callback_promise_adapter.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/service_worker/service_worker_registration.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/network/http_parsers.h"
namespace blink {
ScriptPromise<IDLUndefined> NavigationPreloadManager::enable(
ScriptState* script_state) { … }
ScriptPromise<IDLUndefined> NavigationPreloadManager::disable(
ScriptState* script_state) { … }
ScriptPromise<IDLUndefined> NavigationPreloadManager::setHeaderValue(
ScriptState* script_state,
const String& value,
ExceptionState& exception_state) { … }
ScriptPromise<NavigationPreloadState> NavigationPreloadManager::getState(
ScriptState* script_state) { … }
NavigationPreloadManager::NavigationPreloadManager(
ServiceWorkerRegistration* registration)
: … { … }
ScriptPromise<IDLUndefined> NavigationPreloadManager::SetEnabled(
bool enable,
ScriptState* script_state) { … }
void NavigationPreloadManager::Trace(Visitor* visitor) const { … }
}