Index: ipc/ipc_channel_win.h |
diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h |
index ccaa6f42d1258995c09d8bdb576a4e428e0c97c8..82b70dbb230927832bdd7d5fcd38f1d8a5479ff4 100644 |
--- a/ipc/ipc_channel_win.h |
+++ b/ipc/ipc_channel_win.h |
@@ -21,7 +21,8 @@ namespace IPC { |
class Channel::ChannelImpl : public MessageLoopForIO::IOHandler { |
public: |
// Mirror methods of Channel, see ipc_channel.h for description. |
- ChannelImpl(const std::string& channel_id, Mode mode, Listener* listener); |
+ ChannelImpl(const IPC::ChannelHandle &channel_handle, Mode mode, |
+ Listener* listener); |
~ChannelImpl(); |
bool Connect(); |
void Close(); |
@@ -29,7 +30,7 @@ class Channel::ChannelImpl : public MessageLoopForIO::IOHandler { |
bool Send(Message* message); |
private: |
const std::wstring PipeName(const std::string& channel_id) const; |
- bool CreatePipe(const std::string& channel_id, Mode mode); |
+ bool CreatePipe(const IPC::ChannelHandle &channel_handle, Mode mode); |
bool ProcessConnection(); |
bool ProcessIncomingMessages(MessageLoopForIO::IOContext* context, |