Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: components/nacl/common/nacl.mojom

Issue 2525483002: Convert NaCl renderer-loader messages to mojo. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/common/OWNERS ('k') | components/nacl/common/nacl.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl.mojom
diff --git a/components/nacl/common/nacl.mojom b/components/nacl/common/nacl.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..70b1286953e948f7caa74074e164d09e8fb437bd
--- /dev/null
+++ b/components/nacl/common/nacl.mojom
@@ -0,0 +1,26 @@
+// Copyright 2016 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.
+
+module nacl.mojom;
+
+[Native]
+enum NaClErrorCode;
+
+interface NaClRendererHost {
+ // This message must be synchronous to ensure that the exit status is sent
+ // from NaCl to the renderer before the NaCl process exits very soon after.
+ [Sync]
+ ReportExitStatus(int32 exit_status) => ();
+
+ // This message must be synchronous to ensure that the load status is sent
+ // from NaCl to the renderer before the NaCl process exits very soon after.
+ [Sync]
+ ReportLoadStatus(NaClErrorCode load_status) => ();
+
+ ProvideExitControl(NaClExitControl exit_control);
+};
+
+// When this interface is closed, it indicates that the NaCl loader process
+// should exit.
+interface NaClExitControl {};
« no previous file with comments | « components/nacl/common/OWNERS ('k') | components/nacl/common/nacl.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698