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

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

Issue 1859123003: Add Mojo{Set,Get}DataPipeConsumerOptions() to the NaCl system thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 565bc6dec0e714b50427d30f5a1919eebc3e7c7e..09d0ce06883cd9b9c9bf3557ed2ea948979b9f22 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -82,6 +82,15 @@ struct MojoSystemImplThunksPrivate {
MojoResult (*EndWriteData)(MojoSystemImpl system,
MojoHandle data_pipe_producer_handle,
uint32_t num_elements_written);
+ MojoResult (*SetDataPipeConsumerOptions)(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_consumer_handle,
+ const struct MojoDataPipeConsumerOptions* options);
+ MojoResult (*GetDataPipeConsumerOptions)(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_consumer_handle,
+ struct MojoDataPipeConsumerOptions* options,
+ uint32_t options_num_bytes);
MojoResult (*ReadData)(MojoSystemImpl system,
MojoHandle data_pipe_consumer_handle,
void* elements,
@@ -144,6 +153,8 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplWriteData,
MojoSystemImplBeginWriteData,
MojoSystemImplEndWriteData,
+ MojoSystemImplSetDataPipeConsumerOptions,
+ MojoSystemImplGetDataPipeConsumerOptions,
MojoSystemImplReadData,
MojoSystemImplBeginReadData,
MojoSystemImplEndReadData,
« 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