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

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

Issue 1993283002: Add thunks for MojoGetRights(), etc. (Closed) Base URL: https://github.com/domokit/mojo.git@work795_core_get_rights
Patch Set: I'm an idiot 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_thunks.h
diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h
index 8ada0f08ebff85fcc9d7f105e9c723b4622baaa0..23f7d69f521a3800622ce76cc685662e9dcbb6ef 100644
--- a/mojo/public/platform/native/system_thunks.h
+++ b/mojo/public/platform/native/system_thunks.h
@@ -126,6 +126,7 @@ struct MojoSystemThunks {
MojoHandle data_pipe_producer_handle,
struct MojoDataPipeProducerOptions* options,
uint32_t options_num_bytes);
+ MojoResult (*GetRights)(MojoHandle handle, MojoHandleRights* rights);
};
#pragma pack(pop)
@@ -159,6 +160,7 @@ inline MojoSystemThunks MojoMakeSystemThunks() {
MojoGetDataPipeConsumerOptions,
MojoSetDataPipeProducerOptions,
MojoGetDataPipeProducerOptions,
+ MojoGetRights,
};
return system_thunks;
}
« no previous file with comments | « mojo/public/platform/native/system_impl_private_unittest.cc ('k') | mojo/public/platform/native/system_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698