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

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: Add "broker" prefix to name 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
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 23 matching lines...) Expand all
34 34
35 /* Whether to enable NaCl's built-in GDB RSP debug stub. Boolean. */ 35 /* Whether to enable NaCl's built-in GDB RSP debug stub. Boolean. */
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 #if NACL_WINDOWS
45 /*
46 * Callback to use instead of DuplicateHandle() for copying a
47 * Windows handle to another process. Optional; may be NULL.
48 */
49 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func;
50 #endif
51
44 /* Cache for NaCl validation judgements. Optional; may be NULL. */ 52 /* Cache for NaCl validation judgements. Optional; may be NULL. */
45 struct NaClValidationCache *validation_cache; 53 struct NaClValidationCache *validation_cache;
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

Powered by Google App Engine
This is Rietveld 408576698