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

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: Header update 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
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 #include "native_client/src/trusted/validator/validation_cache.h"
12 13
13 EXTERN_C_BEGIN 14 EXTERN_C_BEGIN
14 15
15 /* 16 /*
16 * Register the integrated runtime (IRT) library file for use by 17 * Register the integrated runtime (IRT) library file for use by
17 * NaClMainForChromium(). This takes a file descriptor, even on 18 * NaClMainForChromium(). This takes a file descriptor, even on
18 * Windows (where file descriptors are emulated by the C runtime 19 * Windows (where file descriptors are emulated by the C runtime
19 * library). 20 * library).
20 */ 21 */
21 void NaClSetIrtFileDesc(int fd); 22 void NaClSetIrtFileDesc(int fd);
22 23
24 void NaClSetValidationCache(NaClValidationCache *cache);
25
23 void NaClMainForChromium(int handle_count, const NaClHandle *handles, 26 void NaClMainForChromium(int handle_count, const NaClHandle *handles,
24 int debug); 27 int debug);
25 28
26 EXTERN_C_END 29 EXTERN_C_END
27 30
28 #endif 31 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698