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

Side by Side Diff: src/public/chrome_main.h

Issue 209423004: Add NaClChromeMainInitForNonSfi (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 9 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_PUBLIC_CHROME_MAIN_H_ 7 #ifndef NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_
8 #define NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ 1 8 #define NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ 1
9 9
10 #include "native_client/src/include/nacl_base.h" 10 #include "native_client/src/include/nacl_base.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 * 170 *
171 * If this is called, it must be called before NaClChromeMainInit(), 171 * If this is called, it must be called before NaClChromeMainInit(),
172 * otherwise NaClChromeMainInit() will try to open() /dev/urandom. 172 * otherwise NaClChromeMainInit() will try to open() /dev/urandom.
173 */ 173 */
174 void NaClChromeMainSetUrandomFd(int urandom_fd); 174 void NaClChromeMainSetUrandomFd(int urandom_fd);
175 #endif 175 #endif
176 176
177 /* Initialize NaCl. This must be called before NaClAppCreate(). */ 177 /* Initialize NaCl. This must be called before NaClAppCreate(). */
178 void NaClChromeMainInit(void); 178 void NaClChromeMainInit(void);
179 179
180 /* Initialize non-SFI NaCl. This must be called before NaClAppCreate(). */
181 void NaClChromeMainInitForNonSfi(void);
182
180 /* Create a new args struct containing default values. */ 183 /* Create a new args struct containing default values. */
181 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); 184 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void);
182 185
183 /* Launch NaCl. This does not return. */ 186 /* Launch NaCl. This does not return. */
184 void NaClChromeMainStartApp(struct NaClApp *nap, 187 void NaClChromeMainStartApp(struct NaClApp *nap,
185 struct NaClChromeMainArgs *args); 188 struct NaClChromeMainArgs *args);
186 189
187 190
188 EXTERN_C_END 191 EXTERN_C_END
189 192
190 #endif 193 #endif
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/nacl_all_modules.h » ('j') | src/trusted/service_runtime/nacl_all_modules.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698