Rearrange mojo/nacl files.

Files that were previously generated are now checked in to make SDK and
Chromium integration easier. Files needed to build mojo apps have been
moved to //mojo/public/platform/nacl. Files needed to integrate NaCl with
Mojo (used by the NaCl content handler and Chromium) have been moved to
//nacl_bindings. This directory will be copied into the Chrome tree.
//nacl_bindings_generator contains the script for regenerating the
checked-in files. This script will likely go away when the NaCl bindings
have stabilized. //mojo/nacl is deprecated and currently contains testing
and build files specific to the Mojo repo.

BUG=401761
R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/955113002
diff --git a/nacl_bindings/mojo_syscall.h b/nacl_bindings/mojo_syscall.h
new file mode 100644
index 0000000..700d191
--- /dev/null
+++ b/nacl_bindings/mojo_syscall.h
@@ -0,0 +1,26 @@
+// 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_MOJO_SYSCALL_H_
+#define MOJO_NACL_MOJO_SYSCALL_H_
+
+#include "mojo/public/c/system/types.h"
+
+// Injects a NaClDesc for Mojo support and sets a MojoHandle to be provided to
+// untrusted code as a "service provider" MojoHandle.  This provides the
+// implementation of the Mojo system API outside the NaCl sandbox and allows
+// untrusted code to communicate with Mojo interfaces outside the sandbox or in
+// other processes.
+void InjectMojo(struct NaClApp* nap, MojoHandle handle);
+
+// Injects a NaClDesc for Mojo support. This provides the implementation of the
+// Mojo system API outside the NaCl sandbox.
+// TODO(teravest): Remove this once it is no longer called.
+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_