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

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

Issue 1865533002: Add Mojo{Set,Get}DataPipeConsumerOptions() to the standard/native system thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@work786_dp_read_threshold
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') | 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.h
diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h
index 2dbe3a34187d84ff848a187dd3e27ffde5f2371d..e76bd4e059c6413da682f778d32c7dbc55bfc840 100644
--- a/mojo/public/platform/native/system_thunks.h
+++ b/mojo/public/platform/native/system_thunks.h
@@ -112,6 +112,13 @@ struct MojoSystemThunks {
MojoResult (*GetBufferInformation)(MojoHandle buffer_handle,
struct MojoBufferInformation* info,
uint32_t info_num_bytes);
+ MojoResult (*SetDataPipeConsumerOptions)(
+ MojoHandle data_pipe_consumer_handle,
+ const struct MojoDataPipeConsumerOptions* options);
+ MojoResult (*GetDataPipeConsumerOptions)(
+ MojoHandle data_pipe_consumer_handle,
+ struct MojoDataPipeConsumerOptions* options,
+ uint32_t options_num_bytes);
};
#pragma pack(pop)
@@ -141,6 +148,8 @@ inline MojoSystemThunks MojoMakeSystemThunks() {
MojoMapBuffer,
MojoUnmapBuffer,
MojoGetBufferInformation,
+ MojoSetDataPipeConsumerOptions,
+ MojoGetDataPipeConsumerOptions,
};
return system_thunks;
}
« no previous file with comments | « mojo/public/c/system/tests/core_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698