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: ipc/ipc_sync_channel.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 | « ios/web/webui/web_ui_mojo_inttest.mm ('k') | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.h
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h
index e8c96d209adfca3ad7154d715a64cb3860a0341c..7738b7fa7cd26646128e8c852da577cf13485b98 100644
--- a/ipc/ipc_sync_channel.h
+++ b/ipc/ipc_sync_channel.h
@@ -19,7 +19,7 @@
#include "ipc/ipc_sync_message.h"
#include "ipc/ipc_sync_message_filter.h"
#include "mojo/public/c/system/types.h"
-#include "mojo/public/cpp/system/watcher.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
namespace base {
class WaitableEvent;
@@ -27,7 +27,6 @@ class WaitableEvent;
namespace mojo {
class SyncHandleRegistry;
-class Watcher;
}
namespace IPC {
@@ -241,7 +240,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
scoped_refptr<mojo::SyncHandleRegistry> sync_handle_registry_;
// Used to signal events between the IPC and listener threads.
- mojo::Watcher dispatch_watcher_;
+ mojo::SimpleWatcher dispatch_watcher_;
// Tracks SyncMessageFilters created before complete channel initialization.
std::vector<scoped_refptr<SyncMessageFilter>> pre_init_sync_message_filters_;
« no previous file with comments | « ios/web/webui/web_ui_mojo_inttest.mm ('k') | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698