summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel.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.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.h')
-rw-r--r--ipc/ipc_channel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index 6bfcded..f3bf78f 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -171,6 +171,10 @@ class Channel : public Message::Sender {
void ResetToAcceptingConnectionState();
#endif // defined(OS_POSIX) && !defined(OS_NACL)
+ // Returns true if a named server channel is initialized on the given channel
+ // ID. Even if true, the server may have already accepted a connection.
+ static bool IsNamedServerInitialized(const std::string& channel_id);
+
protected:
// Used in Chrome by the TestSink to provide a dummy channel implementation
// for testing. TestSink overrides the "interesting" functions in Channel so