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

Unified Diff: mojo/edk/system/core.h

Issue 2052553002: Add Core::ReplaceHandleWithReducedRights(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
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
« no previous file with comments | « no previous file | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index b4cfbda02ef695c8782bd5852b28bedc8c24b202..065a0ab22d0d787f07b0f50d66aac51ddab59e0b 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -117,6 +117,10 @@ class Core {
// "mojo/public/c/system/handle.h":
MojoResult Close(MojoHandle handle);
MojoResult GetRights(MojoHandle handle, UserPointer<MojoHandleRights> rights);
+ MojoResult ReplaceHandleWithReducedRights(
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ UserPointer<MojoHandle> replacement_handle);
MojoResult DuplicateHandleWithReducedRights(
MojoHandle handle,
MojoHandleRights rights_to_remove,
« no previous file with comments | « no previous file | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698