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

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

Issue 2056513002: Plumb MojoReplaceHandleWithReducedRights() out. (Closed) Base URL: https://github.com/domokit/mojo.git@work790_replace_reduce_1
Patch Set: Created 4 years, 6 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 296cb211f7b22e4b4f8a80aa73d5055444825a78..1a9b1ad98238105d0fb12362e242dd01d7badd83 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -37,6 +37,11 @@ struct MojoSystemImplThunksPrivate {
MojoResult (*GetRights)(MojoSystemImpl system,
MojoHandle handle,
MojoHandleRights* rights);
+ MojoResult (*ReplaceHandleWithReducedRights)(
+ MojoSystemImpl system,
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ MojoHandle* replacement_handle);
MojoResult (*DuplicateHandleWithReducedRights)(
MojoSystemImpl system,
MojoHandle handle,
@@ -165,6 +170,7 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplGetTimeTicksNow,
MojoSystemImplClose,
MojoSystemImplGetRights,
+ MojoSystemImplReplaceHandleWithReducedRights,
MojoSystemImplDuplicateHandleWithReducedRights,
MojoSystemImplDuplicateHandle,
MojoSystemImplWait,

Powered by Google App Engine
This is Rietveld 408576698