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

Unified Diff: media/remoting/demuxer_stream_adapter.h

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: rebase Created 3 years, 9 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: media/remoting/demuxer_stream_adapter.h
diff --git a/media/remoting/demuxer_stream_adapter.h b/media/remoting/demuxer_stream_adapter.h
index 141fe8e336ba0193462268b30e34dc090918fb51..350ad66517ba56596aae46dad54c322ae1026d9b 100644
--- a/media/remoting/demuxer_stream_adapter.h
+++ b/media/remoting/demuxer_stream_adapter.h
@@ -21,6 +21,7 @@
#include "media/remoting/rpc_broker.h"
#include "media/remoting/triggers.h"
#include "mojo/public/cpp/system/data_pipe.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
namespace base {
class SingleThreadTaskRunner;
@@ -167,7 +168,7 @@ class DemuxerStreamAdapter {
bool pending_frame_is_eos_;
// Monitor if data pipe is available to write data.
- mojo::Watcher write_watcher_;
+ mojo::SimpleWatcher write_watcher_;
// Keeps latest demuxer stream status and audio/video decoder config.
DemuxerStream::Status media_status_;

Powered by Google App Engine
This is Rietveld 408576698