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

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

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
« no previous file with comments | « mojo/public/platform/native/system_impl_private_thunks.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/platform/native/system_thunks.c
diff --git a/mojo/public/platform/native/system_thunks.c b/mojo/public/platform/native/system_thunks.c
index 467f8e5cc317712f9a4c265d6922564ba38336a5..8c5a4a8b1ded8b13887b8ef60e3f3d0fa82d0063 100644
--- a/mojo/public/platform/native/system_thunks.c
+++ b/mojo/public/platform/native/system_thunks.c
@@ -102,6 +102,23 @@ MojoResult MojoEndWriteData(MojoHandle data_pipe_producer_handle,
return g_thunks.EndWriteData(data_pipe_producer_handle, num_elements_written);
}
+MojoResult MojoSetDataPipeConsumerOptions(
+ MojoHandle data_pipe_consumer_handle,
+ const struct MojoDataPipeConsumerOptions* options) {
+ assert(g_thunks.SetDataPipeConsumerOptions);
+ return g_thunks.SetDataPipeConsumerOptions(data_pipe_consumer_handle,
+ options);
+}
+
+MojoResult MojoGetDataPipeConsumerOptions(
+ MojoHandle data_pipe_consumer_handle,
+ struct MojoDataPipeConsumerOptions* options,
+ uint32_t options_num_bytes) {
+ assert(g_thunks.GetDataPipeConsumerOptions);
+ return g_thunks.GetDataPipeConsumerOptions(data_pipe_consumer_handle,
+ options, options_num_bytes);
+}
+
MojoResult MojoReadData(MojoHandle data_pipe_consumer_handle,
void* elements,
uint32_t* num_elements,
« no previous file with comments | « mojo/public/platform/native/system_impl_private_thunks.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698