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

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

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/c/system/tests/core_unittest.cc ('k') | mojo/public/platform/native/system_thunks.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/platform/native/system_thunks.h
diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h
index e76bd4e059c6413da682f778d32c7dbc55bfc840..8ada0f08ebff85fcc9d7f105e9c723b4622baaa0 100644
--- a/mojo/public/platform/native/system_thunks.h
+++ b/mojo/public/platform/native/system_thunks.h
@@ -119,6 +119,13 @@ struct MojoSystemThunks {
MojoHandle data_pipe_consumer_handle,
struct MojoDataPipeConsumerOptions* options,
uint32_t options_num_bytes);
+ MojoResult (*SetDataPipeProducerOptions)(
+ MojoHandle data_pipe_producer_handle,
+ const struct MojoDataPipeProducerOptions* options);
+ MojoResult (*GetDataPipeProducerOptions)(
+ MojoHandle data_pipe_producer_handle,
+ struct MojoDataPipeProducerOptions* options,
+ uint32_t options_num_bytes);
};
#pragma pack(pop)
@@ -150,6 +157,8 @@ inline MojoSystemThunks MojoMakeSystemThunks() {
MojoGetBufferInformation,
MojoSetDataPipeConsumerOptions,
MojoGetDataPipeConsumerOptions,
+ MojoSetDataPipeProducerOptions,
+ MojoGetDataPipeProducerOptions,
};
return system_thunks;
}
« no previous file with comments | « mojo/public/c/system/tests/core_unittest.cc ('k') | mojo/public/platform/native/system_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698