Index: ipc/ipc_sync_channel.h |
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h |
index 8984184da293ae81508293db635a12c4b6bac164..f8207ce1e3e4739296bbb4e144a38b018db62f25 100644 |
--- a/ipc/ipc_sync_channel.h |
+++ b/ipc/ipc_sync_channel.h |
@@ -23,6 +23,7 @@ class WaitableEvent; |
namespace IPC { |
class SyncMessage; |
+class ChannelFactory; |
// This is similar to ChannelProxy, with the added feature of supporting sending |
// synchronous messages. |
@@ -75,6 +76,13 @@ class IPC_EXPORT SyncChannel : public ChannelProxy { |
bool create_pipe_now, |
base::WaitableEvent* shutdown_event); |
+ static scoped_ptr<SyncChannel> Create( |
+ scoped_ptr<ChannelFactory> factory, |
+ Listener* listener, |
+ base::SingleThreadTaskRunner* ipc_task_runner, |
+ bool create_pipe_now, |
+ base::WaitableEvent* shutdown_event); |
+ |
// Creates an uninitialized sync channel. Call ChannelProxy::Init to |
// initialize the channel. This two-step setup allows message filters to be |
// added before any messages are sent or received. |