Index: mojo/nacl/mojo_syscall.h |
diff --git a/mojo/nacl/mojo_syscall.h b/mojo/nacl/mojo_syscall.h |
index f195769a11d4745278fb7e982d1e8ff5ee6cde95..71822b58715a9d9a752ba80f0a1bbff667f331c7 100644 |
--- a/mojo/nacl/mojo_syscall.h |
+++ b/mojo/nacl/mojo_syscall.h |
@@ -5,6 +5,12 @@ |
#ifndef MOJO_NACL_MOJO_SYSCALL_H_ |
#define MOJO_NACL_MOJO_SYSCALL_H_ |
+// Injects a NaClDesc for Mojo support. This provides the implementation of the |
+// Mojo system API outside the NaCl sandbox. |
void InjectMojo(struct NaClApp* nap); |
+// Injects a "disabled" NaClDesc for Mojo support. This is to make debugging |
+// more straightforward in the case where Mojo is not enabled for NaCl plugins. |
+void InjectDisabledMojo(struct NaClApp* nap); |
+ |
#endif // MOJO_NACL_MOJO_SYSCALL_H_ |