Index: ipc/ipc_sync_channel.h |
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h |
index 2fd1b117efca76a75db3a773e35d32e0ba9de533..243d6b07cfe972376d8c7b3c7d7c977227c13a50 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); |
}; |