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

Unified Diff: src/trusted/service_runtime/sel_main_chrome.h

Issue 141413007: NaCl: Expose NaClApp to the embedding layer. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@embedding_api
Patch Set: Expose LoadModule status for UMA tracking. Created 6 years, 11 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
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_main_chrome.h
diff --git a/src/trusted/service_runtime/sel_main_chrome.h b/src/trusted/service_runtime/sel_main_chrome.h
index 043575cf72ac82a7cdc6bfce5ad0340cae034e15..a280bb356f4ef9be799a4fb381773bd23a19dca1 100644
--- a/src/trusted/service_runtime/sel_main_chrome.h
+++ b/src/trusted/service_runtime/sel_main_chrome.h
@@ -10,6 +10,7 @@
#include "native_client/src/include/nacl_base.h"
#include "native_client/src/include/portability.h"
#include "native_client/src/shared/imc/nacl_imc_c.h"
+#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
EXTERN_C_BEGIN
@@ -151,6 +152,14 @@ struct NaClChromeMainArgs {
/* Create a new args struct containing default values. */
struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void);
+struct NaClApp *NaClChromeMainCreateApp(struct NaClChromeMainArgs *args);
+
+/* Load the NaCl module referred to by nexe_desc. */
+NaClErrorCode NaClChromeMainLoadModule(struct NaClApp *nap,
+ struct NaClDesc *nexe_desc);
+
+/* Load the IRT and start the NaCl module. */
+void NaClChromeMainStartModule(struct NaClApp *nap, int irt_fd);
/* Launch NaCl. */
void NaClChromeMainStart(struct NaClChromeMainArgs *args);
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698