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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_main_chrome.h
diff --git a/src/trusted/service_runtime/sel_main_chrome.h b/src/trusted/service_runtime/sel_main_chrome.h
index 2d76e2662aa353d72038560faa817cc855406fcb..60bdfefd747128973cdcafffbe1856666df9f79e 100644
--- a/src/trusted/service_runtime/sel_main_chrome.h
+++ b/src/trusted/service_runtime/sel_main_chrome.h
@@ -43,6 +43,14 @@ struct NaClChromeMainArgs {
/* Cache for NaCl validation judgements. Optional; may be NULL. */
struct NaClValidationCache *validation_cache;
+
+#if NACL_WINDOWS
+ /*
+ * Callback to use instead of DuplicateHandle() for copying a
+ * Windows handle to another process. Optional; may be NULL.
+ */
+ NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func;
+#endif
};
/* Create a new args struct containing default values. */
« 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