// Copyright 2023 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;
import "services/network/public/mojom/ip_address.mojom";
// PrivateNetworkDevice represents a server on private/local network responding
// to requests from public websites. ID and name will defined by HTTP response
// header `Private-Network-Access-ID` and `Private-Network-Access-Name` for
// private network preflight requests.
struct PrivateNetworkDevice {
// Device ID defined in the HTTP response header `Private-Network-Access-ID`
// by the device itself.
string? id;
// Device name defined in the HTTP response header `Private-Network-Access-Name`
// by the device itself.
string? name;
// The IP address of the device.
network.mojom.IPAddress ip_address;
};