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

Unified Diff: mojo/public/platform/native/system_impl_private_thunks.h

Issue 2000253002: Add thunks for MojoDuplicateHandle[WithReducedRights](). (Closed) Base URL: https://github.com/domokit/mojo.git@work792_dup_handle_1
Patch Set: Created 4 years, 7 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: mojo/public/platform/native/system_impl_private_thunks.h
diff --git a/mojo/public/platform/native/system_impl_private_thunks.h b/mojo/public/platform/native/system_impl_private_thunks.h
index e29fc8e7eaaeab1ceb07ea9c7300df7bec5ab09e..296cb211f7b22e4b4f8a80aa73d5055444825a78 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -37,6 +37,14 @@ struct MojoSystemImplThunksPrivate {
MojoResult (*GetRights)(MojoSystemImpl system,
MojoHandle handle,
MojoHandleRights* rights);
+ MojoResult (*DuplicateHandleWithReducedRights)(
+ MojoSystemImpl system,
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ MojoHandle* new_handle);
+ MojoResult (*DuplicateHandle)(MojoSystemImpl system,
+ MojoHandle handle,
+ MojoHandle* new_handle);
MojoResult (*Wait)(MojoSystemImpl system,
MojoHandle handle,
MojoHandleSignals signals,
@@ -157,6 +165,8 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplGetTimeTicksNow,
MojoSystemImplClose,
MojoSystemImplGetRights,
+ MojoSystemImplDuplicateHandleWithReducedRights,
+ MojoSystemImplDuplicateHandle,
MojoSystemImplWait,
MojoSystemImplWaitMany,
MojoSystemImplCreateMessagePipe,
« no previous file with comments | « mojo/public/platform/native/system_impl_private.h ('k') | mojo/public/platform/native/system_impl_private_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698