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

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

Issue 9960060: Handle-passing: Allow a handle-passing function to be supplied by Chromium (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review Created 8 years, 8 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/shared/imc/win/nacl_imc.cc ('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"
(...skipping 25 matching lines...) Expand all
36 int enable_debug_stub; 36 int enable_debug_stub;
37 37
38 /* 38 /*
39 * Callback to use for creating shared memory objects. Optional; 39 * Callback to use for creating shared memory objects. Optional;
40 * may be NULL. 40 * may be NULL.
41 */ 41 */
42 NaClCreateMemoryObjectFunc create_memory_object_func; 42 NaClCreateMemoryObjectFunc create_memory_object_func;
43 43
44 /* Cache for NaCl validation judgements. Optional; may be NULL. */ 44 /* Cache for NaCl validation judgements. Optional; may be NULL. */
45 struct NaClValidationCache *validation_cache; 45 struct NaClValidationCache *validation_cache;
46
47 #if NACL_WINDOWS
48 /*
49 * Callback to use instead of DuplicateHandle() for copying a
50 * Windows handle to another process. Optional; may be NULL.
51 */
52 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func;
53 #endif
46 }; 54 };
47 55
48 /* Create a new args struct containing default values. */ 56 /* Create a new args struct containing default values. */
49 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); 57 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void);
50 58
51 /* Launch NaCl. */ 59 /* Launch NaCl. */
52 void NaClChromeMainStart(struct NaClChromeMainArgs *args); 60 void NaClChromeMainStart(struct NaClChromeMainArgs *args);
53 61
54 62
55 EXTERN_C_END 63 EXTERN_C_END
56 64
57 #endif 65 #endif
OLDNEW
« no previous file with comments | « src/shared/imc/win/nacl_imc.cc ('k') | src/trusted/service_runtime/sel_main_chrome.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698