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

Unified Diff: src/trusted/platform/posix/nacl_process_types.h

Issue 10832400: Process abstraction layer for NaCl Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Provide consistent interface across all platforms. Created 8 years, 4 months 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: src/trusted/platform/posix/nacl_process_types.h
diff --git a/src/trusted/platform/posix/nacl_process_types.h b/src/trusted/platform/posix/nacl_process_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..a3b70fcaee7b5dc3bdbe0640d630c07622b1bb96
--- /dev/null
+++ b/src/trusted/platform/posix/nacl_process_types.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can
+ * be found in the LICENSE file.
+ */
+
+/*
+ * NaCl Server Runtime process implementation layer.
+ */
+
+#ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_POSIX_NACL_PROCESS_TYPES_H_
+#define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_POSIX_NACL_PROCESS_TYPES_H_
+
+#include <sys/types.h>
+
+#include "native_client/src/include/nacl_base.h"
+
+EXTERN_C_BEGIN
+
+struct NaClProcess {
+ pid_t pid;
+};
+
+EXTERN_C_END
+
+#endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_POSIX_NACL_PROCESS_TYPES_H_ */

Powered by Google App Engine
This is Rietveld 408576698