| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // 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"; |
| }; |