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

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

Issue 1876353006: Add Mojo{Set,Get}DataPipeProducerOptions() to the NaCl system thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: gah 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.h ('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_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 3129f5ea5b3915ca65094e6b496e61e0534ffc0f..466668592c65c602373a2ec4a7550b7e2c6903f1 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.c
+++ b/mojo/public/platform/native/system_impl_private_thunks.c
@@ -110,6 +110,25 @@ MojoResult MojoSystemImplCreateDataPipe(
system, options, data_pipe_producer_handle, data_pipe_consumer_handle);
}
+MojoResult MojoSystemImplSetDataPipeProducerOptions(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_producer_handle,
+ const struct MojoDataPipeProducerOptions* options) {
+ assert(g_system_impl_thunks.SetDataPipeProducerOptions);
+ return g_system_impl_thunks.SetDataPipeProducerOptions(
+ system, data_pipe_producer_handle, options);
+}
+
+MojoResult MojoSystemImplGetDataPipeProducerOptions(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_producer_handle,
+ struct MojoDataPipeProducerOptions* options,
+ uint32_t options_num_bytes) {
+ assert(g_system_impl_thunks.GetDataPipeProducerOptions);
+ return g_system_impl_thunks.GetDataPipeProducerOptions(
+ system, data_pipe_producer_handle, options, options_num_bytes);
+}
+
MojoResult MojoSystemImplWriteData(MojoSystemImpl system,
MojoHandle data_pipe_producer_handle,
const void* elements,
« no previous file with comments | « mojo/public/platform/native/system_impl_private_thunks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698