nacl.mojom 867 B

1234567891011121314151617181920212223242526
  1. // Copyright 2016 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 nacl.mojom;
  5. [Native]
  6. enum NaClErrorCode;
  7. interface NaClRendererHost {
  8. // This message must be synchronous to ensure that the exit status is sent
  9. // from NaCl to the renderer before the NaCl process exits very soon after.
  10. [Sync]
  11. ReportExitStatus(int32 exit_status) => ();
  12. // This message must be synchronous to ensure that the load status is sent
  13. // from NaCl to the renderer before the NaCl process exits very soon after.
  14. [Sync]
  15. ReportLoadStatus(NaClErrorCode load_status) => ();
  16. ProvideExitControl(pending_remote<NaClExitControl> exit_control);
  17. };
  18. // When this interface is closed, it indicates that the NaCl loader process
  19. // should exit.
  20. interface NaClExitControl {};