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

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

Issue 9535001: Add validation caching interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: More edits Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/trusted/service_runtime/sel_ldr.c ('k') | 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"
11 #include "native_client/src/shared/imc/nacl_imc_c.h" 11 #include "native_client/src/shared/imc/nacl_imc_c.h"
12 12
13 EXTERN_C_BEGIN 13 EXTERN_C_BEGIN
14 14
15 struct NaClValidationCache;
16
15 /* 17 /*
16 * Register the integrated runtime (IRT) library file for use by 18 * Register the integrated runtime (IRT) library file for use by
17 * NaClMainForChromium(). This takes a file descriptor, even on 19 * NaClMainForChromium(). This takes a file descriptor, even on
18 * Windows (where file descriptors are emulated by the C runtime 20 * Windows (where file descriptors are emulated by the C runtime
19 * library). 21 * library).
20 */ 22 */
21 void NaClSetIrtFileDesc(int fd); 23 void NaClSetIrtFileDesc(int fd);
22 24
25 void NaClSetValidationCache(struct NaClValidationCache *cache);
26
23 void NaClMainForChromium(int handle_count, const NaClHandle *handles, 27 void NaClMainForChromium(int handle_count, const NaClHandle *handles,
24 int debug); 28 int debug);
25 29
26 EXTERN_C_END 30 EXTERN_C_END
27 31
28 #endif 32 #endif
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/sel_ldr.c ('k') | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698