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

Unified Diff: mojo/public/platform/native/system_impl_private_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_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 2f8b24d1df44f4ce61eaabc0d2445bc54d9afe67..e29fc8e7eaaeab1ceb07ea9c7300df7bec5ab09e 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -34,6 +34,9 @@ struct MojoSystemImplThunksPrivate {
size_t size; // Should be set to sizeof(MojoExplicitThunksPrivate).
MojoTimeTicks (*GetTimeTicksNow)(MojoSystemImpl system);
MojoResult (*Close)(MojoSystemImpl system, MojoHandle handle);
+ MojoResult (*GetRights)(MojoSystemImpl system,
+ MojoHandle handle,
+ MojoHandleRights* rights);
MojoResult (*Wait)(MojoSystemImpl system,
MojoHandle handle,
MojoHandleSignals signals,
@@ -153,6 +156,7 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
sizeof(MojoSystemImplThunksPrivate),
MojoSystemImplGetTimeTicksNow,
MojoSystemImplClose,
+ MojoSystemImplGetRights,
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