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

Unified Diff: mojo/common/data_pipe_drainer.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: mojo/common/data_pipe_drainer.h
diff --git a/mojo/common/data_pipe_drainer.h b/mojo/common/data_pipe_drainer.h
index d0366fac3586caa0cdb494811e3ab8f0f113832a..5cff8203e09f8091dae020e9ff2796d7436ff814 100644
--- a/mojo/common/data_pipe_drainer.h
+++ b/mojo/common/data_pipe_drainer.h
@@ -11,7 +11,7 @@
#include "base/memory/weak_ptr.h"
#include "mojo/common/mojo_common_export.h"
#include "mojo/public/cpp/system/core.h"
-#include "mojo/public/cpp/system/watcher.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
namespace mojo {
namespace common {
@@ -36,7 +36,7 @@ class MOJO_COMMON_EXPORT DataPipeDrainer {
Client* client_;
mojo::ScopedDataPipeConsumerHandle source_;
- mojo::Watcher handle_watcher_;
+ mojo::SimpleWatcher handle_watcher_;
base::WeakPtrFactory<DataPipeDrainer> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698