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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 * that case. | 146 * that case. |
| 147 */ | 147 */ |
| 148 size_t prereserved_sandbox_size; | 148 size_t prereserved_sandbox_size; |
| 149 #endif | 149 #endif |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 /* Create a new args struct containing default values. */ | 152 /* Create a new args struct containing default values. */ |
| 153 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); | 153 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); |
| 154 | 154 |
| 155 /* Launch NaCl. */ | 155 /* Launch NaCl. */ |
| 156 struct NaClApp; | |
| 157 struct NaClApp* NaClAppCreate(void); | |
|
Mark Seaborn
2014/01/17 16:42:06
Why do you want to do the interface like this rath
| |
| 158 void NaClChromeMainStartApp(struct NaClApp *app, | |
| 159 struct NaClChromeMainArgs *args); | |
| 160 | |
| 161 /* DEPRECATED. TODO(teravest): Remove. */ | |
| 156 void NaClChromeMainStart(struct NaClChromeMainArgs *args); | 162 void NaClChromeMainStart(struct NaClChromeMainArgs *args); |
| 157 | 163 |
| 158 | 164 |
| 159 EXTERN_C_END | 165 EXTERN_C_END |
| 160 | 166 |
| 161 #endif | 167 #endif |
| OLD | NEW |