summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_channel_posix.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 07:21:58 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 07:21:58 +0000
commit97c42bcfb8716844d3e3cf048cc7ae52e3b38fc9 (patch)
treebb8c6330ee9a546e57d663c29cc6bd9b71a78a5d /chrome/common/ipc_channel_posix.cc
parenta3cfae6e2fb8693e935d2865ccdb1188d07d1241 (diff)
downloadchromium_src-97c42bcfb8716844d3e3cf048cc7ae52e3b38fc9.zip
chromium_src-97c42bcfb8716844d3e3cf048cc7ae52e3b38fc9.tar.gz
chromium_src-97c42bcfb8716844d3e3cf048cc7ae52e3b38fc9.tar.bz2
Use a dedicated command line flag for FIFO IPC channels on POSIX.
This fixes a problem I hit when porting startup_tests that the controlling startup_tests process didn't use FIFO, and the child chrome process did (and obviously they couldn't communicate). Review URL: http://codereview.chromium.org/27220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_channel_posix.cc')
-rw-r--r--chrome/common/ipc_channel_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/ipc_channel_posix.cc b/chrome/common/ipc_channel_posix.cc
index e29596c..f637277 100644
--- a/chrome/common/ipc_channel_posix.cc
+++ b/chrome/common/ipc_channel_posix.cc
@@ -246,7 +246,7 @@ Channel::ChannelImpl::ChannelImpl(const std::wstring& channel_id, Mode mode,
is_blocked_on_write_(false),
message_send_bytes_written_(0),
uses_fifo_(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kTestingChannelID)),
+ switches::kIPCUseFIFO)),
server_listen_pipe_(-1),
pipe_(-1),
client_pipe_(-1),