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

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

Issue 153453002: Expose NaClAppSetDesc() to Chromium for use at startup (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase and fix Created 6 years, 10 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 | « src/public/nacl_app.h ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_ldr.h
diff --git a/src/trusted/service_runtime/sel_ldr.h b/src/trusted/service_runtime/sel_ldr.h
index b6d4398e289816b1ff3f917ba8fa39744680de70..6acf1eda1a1d209b33245dd80bc2c8d98480c3bb 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -33,6 +33,8 @@
#include "native_client/src/include/portability.h"
#include "native_client/src/include/elf.h"
+#include "native_client/src/public/nacl_app.h"
+
#include "native_client/src/shared/platform/nacl_host_desc.h"
#include "native_client/src/shared/platform/nacl_log.h"
#include "native_client/src/shared/platform/nacl_threads.h"
@@ -640,13 +642,7 @@ static const uintptr_t kNaClBadAddress = (uintptr_t) -1;
struct NaClDesc *NaClAppGetDesc(struct NaClApp *nap,
int d);
-/*
- * Takes ownership of ndp.
- */
-void NaClAppSetDesc(struct NaClApp *nap,
- int d,
- struct NaClDesc *ndp);
-
+/* NaClAppSetDesc() is defined in src/public/chrome_main.h. */
int32_t NaClAppSetDescAvail(struct NaClApp *nap,
struct NaClDesc *ndp);
« no previous file with comments | « src/public/nacl_app.h ('k') | src/trusted/service_runtime/sel_ldr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698