chromium/chromeos/crosapi/mojom/guest_os_sk_forwarder.mojom

// 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 crosapi.mojom;

// A factory living in the Ash process that provides a binding for the
// GuestOsSkForwarder interface.
// Next version: 1
// Next method id: 1
[Stable, Uuid="c1cbf02f-dd4b-4d85-850c-a16e958ae4b9"]
interface GuestOsSkForwarderFactory {
  BindGuestOsSkForwarder@0(pending_remote<GuestOsSkForwarder> remote);
};

// Interface to forward a security key request to a handling extension.
// Implemented by lacros-chrome.
// Next version: 1
// Next method id: 1
[Stable, Uuid="c372e29f-897f-471e-9cc9-4239cc2dcf25"]
interface GuestOsSkForwarder {
  // Forward a single security key request.
  ForwardRequest@0(string message) => (string response);
};