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

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

Issue 1890603003: Add Mojo{Set,Get}DataPipeProducerOptions() to the standard/native 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_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_thunks.c
diff --git a/mojo/public/platform/native/system_thunks.c b/mojo/public/platform/native/system_thunks.c
index 8c5a4a8b1ded8b13887b8ef60e3f3d0fa82d0063..2ac8e8c3a3770b398b7099104253b31610980215 100644
--- a/mojo/public/platform/native/system_thunks.c
+++ b/mojo/public/platform/native/system_thunks.c
@@ -78,6 +78,23 @@ MojoResult MojoCreateDataPipe(const struct MojoCreateDataPipeOptions* options,
data_pipe_consumer_handle);
}
+MojoResult MojoSetDataPipeProducerOptions(
+ MojoHandle data_pipe_producer_handle,
+ const struct MojoDataPipeProducerOptions* options) {
+ assert(g_thunks.SetDataPipeProducerOptions);
+ return g_thunks.SetDataPipeProducerOptions(data_pipe_producer_handle,
+ options);
+}
+
+MojoResult MojoGetDataPipeProducerOptions(
+ MojoHandle data_pipe_producer_handle,
+ struct MojoDataPipeProducerOptions* options,
+ uint32_t options_num_bytes) {
+ assert(g_thunks.GetDataPipeProducerOptions);
+ return g_thunks.GetDataPipeProducerOptions(data_pipe_producer_handle,
+ options, options_num_bytes);
+}
+
MojoResult MojoWriteData(MojoHandle data_pipe_producer_handle,
const void* elements,
uint32_t* num_elements,
« no previous file with comments | « mojo/public/platform/native/system_thunks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698