Index: third_party/mojo/src/nacl_bindings/monacl_sel_main.h |
diff --git a/third_party/mojo/src/nacl_bindings/monacl_sel_main.h b/third_party/mojo/src/nacl_bindings/monacl_sel_main.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d376f649f86583e9d73a59962474b6127b6cc7e0 |
--- /dev/null |
+++ b/third_party/mojo/src/nacl_bindings/monacl_sel_main.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 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. |
+ |
+#ifndef MOJO_NACL_MONACL_SEL_MAIN_H_ |
+#define MOJO_NACL_MONACL_SEL_MAIN_H_ |
+ |
+#include "mojo/public/c/system/types.h" |
+ |
+struct NaClDesc; |
+ |
+namespace mojo { |
+ |
+// Callee assumes ownership of |nexe_desc|, |irt_desc|, and |handle|. |
+int LaunchNaCl(NaClDesc* nexe_desc, |
+ NaClDesc* irt_desc, |
+ int app_argc, |
+ char* app_argv[], |
+ MojoHandle handle); |
+ |
+void NaClExit(int code); |
+ |
+} // namespace mojo |
+ |
+#endif // MOJO_NACL_MONACL_SEL_MAIN_H_ |