Index: src/public/chrome_main.h |
diff --git a/src/public/chrome_main.h b/src/public/chrome_main.h |
index 96885b38edbe2b76c70ded780857d9b86da83886..a2b432cc3bef03bc1ebeee58cb7d1bc897fa696e 100644 |
--- a/src/public/chrome_main.h |
+++ b/src/public/chrome_main.h |
@@ -162,6 +162,15 @@ struct NaClChromeMainArgs { |
size_t info_size); |
#endif |
+ /* |
+ * Callback to run when the initial module load status from a call to |
+ * NaClChromeMainStart is known. The callback is run on the same thread |
+ * that called NaClChromeMainStart. load_status is zero on success, or a |
+ * non-zero error code (from the NaClErrorCode enumeration) on failure. |
+ * Optional; may be NULL. |
+ */ |
+ void (*load_status_handler_func)(int load_status); |
+ |
#if NACL_LINUX || NACL_OSX |
/* |
* The result of sysconf(_SC_NPROCESSORS_ONLN). The Chrome |