gecko-dev/dom/serviceworkers/IPCNavigationPreloadState.ipdlh
Eden Chuang 800daa7911 Bug 1564235 - P3 Create IPC for NavigationPreload in PServiceWorkerRegistration.ipdl. r=dom-worker-reviewers,asuth
This patch implements the IPC for NavigationPreload APIs.
The IPC methods are created on PServiceWorkerRegistration.

Depends on D116914

Differential Revision: https://phabricator.services.mozilla.com/D116916
2021-06-10 06:01:27 +00:00

17 lines
488 B
C++

/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
/* vim: set sw=4 ts=8 et tw=80 ft=cpp : */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
namespace mozilla {
namespace dom {
struct IPCNavigationPreloadState {
bool enabled;
nsCString headerValue;
};
} // namespace dom
} // namespace mozilla