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

Unified Diff: src/public/chrome_main.h

Issue 1089323006: Add a load_status callback hook that is invoked at the end of chrome LoadApp. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: review Created 5 years, 8 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/public/chrome_main.h
diff --git a/src/public/chrome_main.h b/src/public/chrome_main.h
index 96885b38edbe2b76c70ded780857d9b86da83886..09ec5c7c48fa8c917a8ce43528186ef035d21c5f 100644
--- a/src/public/chrome_main.h
+++ b/src/public/chrome_main.h
@@ -162,6 +162,13 @@ struct NaClChromeMainArgs {
size_t info_size);
#endif
+ /*
+ * Callback to run when the initial module load status from a call to
+ * NaClChromeMainStart is known (load_status is a value from the
Mark Seaborn 2015/04/18 01:14:14 Can you also say that it's called from the thread
jvoung (off chromium) 2015/04/20 18:49:47 Good idea -- done.
+ * NaClErrorCode enumeration and may indicate success or error).
Mark Seaborn 2015/04/18 01:14:14 Technically NaClErrorCode is not defined in src/pu
jvoung (off chromium) 2015/04/20 18:49:47 Done.
+ */
Mark Seaborn 2015/04/18 01:14:14 Add: "Optional; may be NULL" to follow the style o
jvoung (off chromium) 2015/04/20 18:49:47 Done.
+ void (*load_status_handler_func)(int load_status);
+
#if NACL_LINUX || NACL_OSX
/*
* The result of sysconf(_SC_NPROCESSORS_ONLN). The Chrome
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | src/trusted/service_runtime/sel_main_chrome.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698