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

Unified Diff: mojo/nacl/mojo_syscall.h

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 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
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_

Powered by Google App Engine
This is Rietveld 408576698