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

Side by Side Diff: src/trusted/service_runtime/sel_main_chrome.h

Issue 135853021: NaCl: Expose NaClApp to embedding layer. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Build fixes applied Created 6 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 * sandbox. This is optional and may be 0 if no address space has 144 * sandbox. This is optional and may be 0 if no address space has
145 * been reserved, though some sandboxes (such as ARM) might fail in 145 * been reserved, though some sandboxes (such as ARM) might fail in
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 struct NaClApp *NaClChromeMainCreateApp(struct NaClChromeMainArgs *args);
155 /* Load and run the initial nexe (including loading the IRT as necessary). */
156 void NaClChromeMainLoadAndRunNexe(struct NaClApp *nap, int irt_fd);
154 157
155 /* Launch NaCl. */ 158 /* Launch NaCl. */
156 void NaClChromeMainStart(struct NaClChromeMainArgs *args); 159 void NaClChromeMainStart(struct NaClChromeMainArgs *args);
157 160
158 161
159 EXTERN_C_END 162 EXTERN_C_END
160 163
161 #endif 164 #endif
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698