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

Unified Diff: mojo/public/platform/native/system_impl_private_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
Index: mojo/public/platform/native/system_impl_private_thunks.c
diff --git a/mojo/public/platform/native/system_impl_private_thunks.c b/mojo/public/platform/native/system_impl_private_thunks.c
index 61a945f644fdbc77f864f8c7af1ae056bafdd345..3129f5ea5b3915ca65094e6b496e61e0534ffc0f 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.c
+++ b/mojo/public/platform/native/system_impl_private_thunks.c
@@ -138,6 +138,25 @@ MojoResult MojoSystemImplEndWriteData(MojoSystemImpl system,
num_elements_written);
}
+MojoResult MojoSystemImplSetDataPipeConsumerOptions(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_consumer_handle,
+ const struct MojoDataPipeConsumerOptions* options) {
+ assert(g_system_impl_thunks.SetDataPipeConsumerOptions);
+ return g_system_impl_thunks.SetDataPipeConsumerOptions(
+ system, data_pipe_consumer_handle, options);
+}
+
+MojoResult MojoSystemImplGetDataPipeConsumerOptions(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_consumer_handle,
+ struct MojoDataPipeConsumerOptions* options,
+ uint32_t options_num_bytes) {
+ assert(g_system_impl_thunks.GetDataPipeConsumerOptions);
+ return g_system_impl_thunks.GetDataPipeConsumerOptions(
+ system, data_pipe_consumer_handle, options, options_num_bytes);
+}
+
MojoResult MojoSystemImplReadData(MojoSystemImpl system,
MojoHandle data_pipe_consumer_handle,
void* elements,
« no previous file with comments | « mojo/public/platform/native/system_impl_private_thunks.h ('k') | mojo/public/platform/native/system_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698