summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_win.h
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 06:46:06 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-09 06:46:06 +0000
commit313c00e5ed70534d2072e9e4c88016d509a8848b (patch)
treec5b98bcdfd319eed0ba04511ff57e0518b182a5a /ipc/ipc_channel_win.h
parentc230751ba15f1991943b8936d262940593c61e03 (diff)
downloadchromium_src-313c00e5ed70534d2072e9e4c88016d509a8848b.zip
chromium_src-313c00e5ed70534d2072e9e4c88016d509a8848b.tar.gz
chromium_src-313c00e5ed70534d2072e9e4c88016d509a8848b.tar.bz2
Fix NamedProxyLauncher on windows. Wait for the named pipe to be connectable.
Enable NamedInterfaceTest on windows. BUG=chromium-os:8515 TEST=none Review URL: http://codereview.chromium.org/7486007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_win.h')
-rw-r--r--ipc/ipc_channel_win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h
index 358d6fa..ada88ac 100644
--- a/ipc/ipc_channel_win.h
+++ b/ipc/ipc_channel_win.h
@@ -30,8 +30,9 @@ class Channel::ChannelImpl : public MessageLoopForIO::IOHandler {
void Close();
void set_listener(Listener* listener) { listener_ = listener; }
bool Send(Message* message);
+ static bool IsNamedServerInitialized(const std::string& channel_id);
private:
- const std::wstring PipeName(const std::string& channel_id) const;
+ static const std::wstring PipeName(const std::string& channel_id);
bool CreatePipe(const IPC::ChannelHandle &channel_handle, Mode mode);
bool ProcessConnection();