chromium/third_party/blink/public/mojom/service_worker/navigation_preload_state.mojom

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module blink.mojom;

// Describes the state for service worker navigation preload:
// https://w3c.github.io/ServiceWorker/#dictdef-navigationpreloadstate
struct NavigationPreloadState {
  // Whether navigation preload is enabled.
  bool enabled = false;

  // The value for the "Service-Worker-Navigation-Preload" HTTP header.
  string header = "true";
};