Chromium Code Reviews| Index: src/public/chrome_main.h |
| diff --git a/src/public/chrome_main.h b/src/public/chrome_main.h |
| index 96885b38edbe2b76c70ded780857d9b86da83886..c652a8fc4a78f78ab8e4c10eca65799c5a77dc68 100644 |
| --- a/src/public/chrome_main.h |
| +++ b/src/public/chrome_main.h |
| @@ -234,6 +234,13 @@ void NaClChromeMainInit(void); |
| */ |
| void NaClSetFatalErrorCallback(void (*func)(const char *data, size_t bytes)); |
| +/* |
| + * Sets a function to be called when the initial module load status |
| + * from a call to NaClChromeMainStart is known (load_status is a value from |
| + * the the NaClErrorCode enumeration and may indicate success or error). |
| + */ |
| +void NaClSetLoadStatusCallback(void (*func)(int load_status)); |
|
Mark Seaborn
2015/04/17 23:15:54
Can you make this callback a field in NaClChromeMa
jvoung (off chromium)
2015/04/18 00:58:17
Done -- ah, didn't realize why that was global.
|
| + |
| /* Create a new args struct containing default values. */ |
| struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); |