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

Unified Diff: media/mojo/common/mojo_decoder_buffer_converter.h

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . 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
« no previous file with comments | « ipc/ipc_sync_channel.cc ('k') | media/mojo/common/mojo_decoder_buffer_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/mojo_decoder_buffer_converter.h
diff --git a/media/mojo/common/mojo_decoder_buffer_converter.h b/media/mojo/common/mojo_decoder_buffer_converter.h
index cc58469870371075dd5926c9c4ad219c95b3b357..10940f3daff35d87d653dd28143979e186e2aeae 100644
--- a/media/mojo/common/mojo_decoder_buffer_converter.h
+++ b/media/mojo/common/mojo_decoder_buffer_converter.h
@@ -12,7 +12,7 @@
#include "media/base/demuxer_stream.h"
#include "media/mojo/interfaces/media_types.mojom.h"
#include "mojo/public/cpp/system/data_pipe.h"
-#include "mojo/public/cpp/system/watcher.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
namespace media {
@@ -47,7 +47,7 @@ class MojoDecoderBufferReader {
// For reading the data section of a DecoderBuffer.
mojo::ScopedDataPipeConsumerHandle consumer_handle_;
- mojo::Watcher pipe_watcher_;
+ mojo::SimpleWatcher pipe_watcher_;
// Only valid during pending read.
ReadCB read_cb_;
@@ -85,7 +85,7 @@ class MojoDecoderBufferWriter {
// For writing the data section of DecoderBuffer into DataPipe.
mojo::ScopedDataPipeProducerHandle producer_handle_;
- mojo::Watcher pipe_watcher_;
+ mojo::SimpleWatcher pipe_watcher_;
// Only valid when data is being written to the pipe.
scoped_refptr<DecoderBuffer> media_buffer_;
« no previous file with comments | « ipc/ipc_sync_channel.cc ('k') | media/mojo/common/mojo_decoder_buffer_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698