chromium/chromeos/crosapi/mojom/firewall_hole.mojom

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

// This interface is deprecated and is not used anymore.
// Please use chromeos::FirewallHole directly.

module crosapi.mojom;

// Deprecated.
[Stable, Uuid="87a1c872-dc14-47a6-a9e5-e51c0cb6d3c0",
 RenamedFrom="crosapi.mojom.FirewallHole"]
interface FirewallHoleDeprecated {};

// Deprecated.
[Stable, Uuid="50025df1-fcfa-443e-925e-569f2cec0a19",
 RenamedFrom="crosapi.mojom.FirewallHoleService"]
interface FirewallHoleServiceDeprecated {
  // Deprecated.
  OpenTCPFirewallHole@0(string interface_name, uint16 port)
      => (pending_remote<FirewallHoleDeprecated>? firewall_hole);

  // Deprecated.
  OpenUDPFirewallHole@1(string interface_name, uint16 port)
      => (pending_remote<FirewallHoleDeprecated>? firewall_hole);
};