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

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: 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 side-by-side diff with in-line comments
Download patch
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..09871ac2e2b9501d4d56867cf49f74b7e42e0d2d 100644
--- a/src/trusted/service_runtime/sel_main_chrome.h
+++ b/src/trusted/service_runtime/sel_main_chrome.h
@@ -41,6 +41,14 @@ struct NaClChromeMainArgs {
*/
NaClCreateMemoryObjectFunc create_memory_object_func;
+#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
+
/* Cache for NaCl validation judgements. Optional; may be NULL. */
struct NaClValidationCache *validation_cache;
};

Powered by Google App Engine
This is Rietveld 408576698