Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ |
| 8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1 | 8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1 |
| 9 | 9 |
| 10 #include "native_client/src/include/nacl_base.h" | 10 #include "native_client/src/include/nacl_base.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func; | 52 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func; |
| 53 | 53 |
| 54 /* | 54 /* |
| 55 * Callback to use for requesting that a debug exception handler be | 55 * Callback to use for requesting that a debug exception handler be |
| 56 * attached to this process for handling hardware exceptions via the | 56 * attached to this process for handling hardware exceptions via the |
| 57 * Windows debug API. The data in info/info_size must be passed to | 57 * Windows debug API. The data in info/info_size must be passed to |
| 58 * NaClDebugExceptionHandlerRun(). Optional; may be NULL. | 58 * NaClDebugExceptionHandlerRun(). Optional; may be NULL. |
| 59 */ | 59 */ |
| 60 int (*attach_debug_exception_handler_func)(void *info, size_t info_size); | 60 int (*attach_debug_exception_handler_func)(void *info, size_t info_size); |
| 61 #endif | 61 #endif |
| 62 | |
| 63 /* Dangerous: replace the main validator with the new DFA-based validator. */ | |
| 64 int enable_dfa_validator; | |
|
Mark Seaborn
2012/04/19 22:11:39
I don't think this belongs here. Chromium does no
pasko-google - do not use
2012/04/19 22:36:27
I do not have a strong preference on flag vs. env
Nick Bray
2012/04/19 23:11:08
In general, plumbing stuff from Chrome is a pain a
pasko-google - do not use
2012/04/20 14:30:38
Yes, keeping the check high has the benefit of kee
| |
| 62 }; | 65 }; |
| 63 | 66 |
| 64 /* Create a new args struct containing default values. */ | 67 /* Create a new args struct containing default values. */ |
| 65 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); | 68 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); |
| 66 | 69 |
| 67 /* Launch NaCl. */ | 70 /* Launch NaCl. */ |
| 68 void NaClChromeMainStart(struct NaClChromeMainArgs *args); | 71 void NaClChromeMainStart(struct NaClChromeMainArgs *args); |
| 69 | 72 |
| 70 | 73 |
| 71 EXTERN_C_END | 74 EXTERN_C_END |
| 72 | 75 |
| 73 #endif | 76 #endif |
| OLD | NEW |