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

Unified Diff: mojo/public/platform/native/system_impl_private.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.h
diff --git a/mojo/public/platform/native/system_impl_private.h b/mojo/public/platform/native/system_impl_private.h
index 3596172836bd158c2a35024c6cf8361c7c059d5a..62cc993b7dad54e01a23d6ef18cbcacb9b6de62d 100644
--- a/mojo/public/platform/native/system_impl_private.h
+++ b/mojo/public/platform/native/system_impl_private.h
@@ -54,6 +54,11 @@ MojoResult MojoSystemImplClose(MojoSystemImpl system, MojoHandle handle);
MojoResult MojoSystemImplGetRights(MojoSystemImpl system,
MojoHandle handle,
MojoHandleRights* rights);
+MojoResult MojoSystemImplReplaceHandleWithReducedRights(
+ MojoSystemImpl system,
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ MojoHandle* replacement_handle);
MojoResult MojoSystemImplDuplicateHandleWithReducedRights(
MojoSystemImpl system,
MojoHandle handle,

Powered by Google App Engine
This is Rietveld 408576698