naiveproxy/components/arc/common/oemcrypto_daemon.mojom

26 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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.
// The original version of this file lives in the Chromium repository at:
// src/components/arc/common/oemcrypto_daemon.mojom
// This file defines the mojo interface used between Chrome and the Chrome OS
// daemon for establishing the connection from Android to the Chrome OS
// daemon. This is used so Chrome can proxy the OemCryptoService implementation
// over to the daemon and then also hand the daemon a Mojo connection to the
// GPU process for dealing with secure buffers.
module arc_oemcrypto.mojom;
import "oemcrypto.mojom";
import "protected_buffer_manager.mojom";
// OemCryptoHostDaemon is implemented by the OemCrypto daemon running in
// Chrome OS and has Connect called from the Browser process in Chrome.
// Next Method ID: 1
interface OemCryptoHostDaemon {
Connect@0(arc.mojom.OemCryptoService& oemcryptor,
media.mojom.ProtectedBufferManager protected_buffer_manager);
};