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

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

Issue 209423004: Add NaClChromeMainInitForNonSfi (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 9 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/service_runtime/sel_main_chrome.c
diff --git a/src/trusted/service_runtime/sel_main_chrome.c b/src/trusted/service_runtime/sel_main_chrome.c
index 9c38628551823f557a58b4ac3c123a62430df51f..996b73c07ed662942bcdb74d20170d1629bf8778 100644
--- a/src/trusted/service_runtime/sel_main_chrome.c
+++ b/src/trusted/service_runtime/sel_main_chrome.c
@@ -59,6 +59,12 @@ void NaClChromeMainInit(void) {
g_initialized = 1;
}
+void NaClChromeMainInitForNonSfi(void) {
+ CHECK(!g_initialized);
+ NaClAllModulesInitForNonSfi();
+ g_initialized = 1;
+}
+
struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void) {
struct NaClChromeMainArgs *args;

Powered by Google App Engine
This is Rietveld 408576698