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

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: Update test also 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
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/sel_main_chrome.c » ('j') | src/trusted/service_runtime/sel_main_chrome.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698