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

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

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
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 09d0ce06883cd9b9c9bf3557ed2ea948979b9f22..2f8b24d1df44f4ce61eaabc0d2445bc54d9afe67 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -69,6 +69,15 @@ struct MojoSystemImplThunksPrivate {
const struct MojoCreateDataPipeOptions* options,
MojoHandle* data_pipe_producer_handle,
MojoHandle* data_pipe_consumer_handle);
+ MojoResult (*SetDataPipeProducerOptions)(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_producer_handle,
+ const struct MojoDataPipeProducerOptions* options);
+ MojoResult (*GetDataPipeProducerOptions)(
+ MojoSystemImpl system,
+ MojoHandle data_pipe_producer_handle,
+ struct MojoDataPipeProducerOptions* options,
+ uint32_t options_num_bytes);
MojoResult (*WriteData)(MojoSystemImpl system,
MojoHandle data_pipe_producer_handle,
const void* elements,
@@ -150,6 +159,8 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplWriteMessage,
MojoSystemImplReadMessage,
MojoSystemImplCreateDataPipe,
+ MojoSystemImplSetDataPipeProducerOptions,
+ MojoSystemImplGetDataPipeProducerOptions,
MojoSystemImplWriteData,
MojoSystemImplBeginWriteData,
MojoSystemImplEndWriteData,
« 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