summaryrefslogtreecommitdiffstats
path: root/chrome/nacl
diff options
context:
space:
mode:
authorsehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-18 19:14:43 +0000
committersehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-18 19:14:43 +0000
commit761caa4b594ceb7ce534f0abc8e68243204b900d (patch)
tree3cfc96b11fc8eea60bb9ec50f3e1a308c5d0acca /chrome/nacl
parente398ce857ae54166af4be5d5e516a157db8347eb (diff)
downloadchromium_src-761caa4b594ceb7ce534f0abc8e68243204b900d.zip
chromium_src-761caa4b594ceb7ce534f0abc8e68243204b900d.tar.gz
chromium_src-761caa4b594ceb7ce534f0abc8e68243204b900d.tar.bz2
Expose the TransportDIB through the reserved pointer so that the NaCl pepper host can
find it to transfer to the NaCl module. Review URL: http://codereview.chromium.org/500121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r--chrome/nacl/nacl_thread.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/nacl/nacl_thread.cc b/chrome/nacl/nacl_thread.cc
index 3ed7c93..4c9dd5f05 100644
--- a/chrome/nacl/nacl_thread.cc
+++ b/chrome/nacl/nacl_thread.cc
@@ -6,7 +6,15 @@
#include "chrome/common/notification_service.h"
#include "chrome/common/nacl_messages.h"
-#include "native_client/src/trusted/service_runtime/include/sys/nacl_imc_api.h"
+
+// This is ugly. We need an interface header file for the exported
+// sel_ldr interfaces.
+// TODO(gregoryd,sehr): Add an interface header.
+#if defined(OS_WIN)
+typedef HANDLE NaClHandle;
+#else
+typedef int NaClHandle;
+#endif // NaClHandle
int SelMain(const int desc, const NaClHandle handle);