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

Unified Diff: mojo/edk/system/dispatcher.h

Issue 1885663002: EDK: Add implementation of data pipe producer write threshold stuff. (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/edk/system/data_pipe_producer_dispatcher.cc ('k') | mojo/edk/system/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/dispatcher.h
diff --git a/mojo/edk/system/dispatcher.h b/mojo/edk/system/dispatcher.h
index fad468fe9db21a839e929eecdad655f1655b6d88..2206848c22e9daa7c9aff33cb1bf5d000225e943 100644
--- a/mojo/edk/system/dispatcher.h
+++ b/mojo/edk/system/dispatcher.h
@@ -98,6 +98,11 @@ class Dispatcher : public util::RefCountedThreadSafe<Dispatcher> {
uint32_t* num_dispatchers,
MojoReadMessageFlags flags);
+ MojoResult SetDataPipeProducerOptions(
+ UserPointer<const MojoDataPipeProducerOptions> options);
+ MojoResult GetDataPipeProducerOptions(
+ UserPointer<MojoDataPipeProducerOptions> options,
+ uint32_t options_num_bytes);
MojoResult WriteData(UserPointer<const void> elements,
UserPointer<uint32_t> elements_num_bytes,
MojoWriteDataFlags flags);
@@ -251,6 +256,12 @@ class Dispatcher : public util::RefCountedThreadSafe<Dispatcher> {
uint32_t* num_dispatchers,
MojoReadMessageFlags flags)
MOJO_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+ virtual MojoResult SetDataPipeProducerOptionsImplNoLock(
+ UserPointer<const MojoDataPipeProducerOptions> options)
+ MOJO_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+ virtual MojoResult GetDataPipeProducerOptionsImplNoLock(
+ UserPointer<MojoDataPipeProducerOptions> options,
+ uint32_t options_num_bytes) MOJO_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
virtual MojoResult WriteDataImplNoLock(UserPointer<const void> elements,
UserPointer<uint32_t> num_bytes,
MojoWriteDataFlags flags)
« no previous file with comments | « mojo/edk/system/data_pipe_producer_dispatcher.cc ('k') | mojo/edk/system/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698