remoting.mojom 1.2 KB

123456789101112131415161718192021222324252627
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module crosapi.mojom;
  5. import "remoting/host/mojom/remote_support.mojom";
  6. // Exposes Chrome Remote Desktop functionality in ash-chrome to callers running
  7. // in lacros-chrome.
  8. // Next version: 1
  9. // Next method id: 2
  10. [Stable, Uuid="9865af55-8513-4f06-a785-2cb064963c3b"]
  11. interface Remoting {
  12. // Returns the version and supported features of the CRD host in ash-chrome.
  13. GetSupportHostDetails@0() => (remoting.mojom.SupportHostDetails host_details);
  14. // Provides a way for a caller in lacros-chrome to request a remote support
  15. // session using the Chrome Remote Desktop host running in ash-chrome.
  16. // The caller in this case is expected to be a built-in native message host
  17. // which is acting on the behalf of the Chrome Remote Desktop website client
  18. // (Website URLs and extension IDs are gated behind allow_lists).
  19. // Note: Starting a new session will disconnect the active session if one
  20. // exists.
  21. StartSupportSession@1(remoting.mojom.SupportSessionParams params) => (
  22. remoting.mojom.StartSupportSessionResponse response);
  23. };