summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sync_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_sync_channel.h')
-rw-r--r--ipc/ipc_sync_channel.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h
index 2fd1b11..243d6b0 100644
--- a/ipc/ipc_sync_channel.h
+++ b/ipc/ipc_sync_channel.h
@@ -5,8 +5,9 @@
#ifndef IPC_IPC_SYNC_CHANNEL_H_
#define IPC_IPC_SYNC_CHANNEL_H_
-#include <string>
#include <deque>
+#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -233,10 +234,16 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
// Starts the dispatch watcher.
void StartWatching();
+ // ChannelProxy overrides:
+ void OnChannelInit() override;
+
// Used to signal events between the IPC and listener threads.
base::WaitableEventWatcher dispatch_watcher_;
base::WaitableEventWatcher::EventCallback dispatch_watcher_callback_;
+ // Tracks SyncMessageFilters created before complete channel initialization.
+ std::vector<scoped_refptr<SyncMessageFilter>> pre_init_sync_message_filters_;
+
DISALLOW_COPY_AND_ASSIGN(SyncChannel);
};