OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ipc/ipc_switches.h" | 5 #include "ipc/ipc_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // Can't find the switch you are looking for? try looking in | 11 // Can't find the switch you are looking for? try looking in |
12 // base/base_switches.cc instead. | 12 // base/base_switches.cc instead. |
13 | 13 |
| 14 // On POSIX only: use FIFO for IPC channels so that "unrelated" process |
| 15 // can connect to a channel, provided it knows its name. For debugging purposes. |
| 16 const char kIPCUseFIFO[] = "ipc-use-fifo"; |
| 17 |
14 // The value of this switch tells the child process which | 18 // The value of this switch tells the child process which |
15 // IPC channel the browser expects to use to communicate with it. | 19 // IPC channel the browser expects to use to communicate with it. |
16 const char kProcessChannelID[] = "channel"; | 20 const char kProcessChannelID[] = "channel"; |
17 | 21 |
18 // Will add kDebugOnStart to every child processes. If a value is passed, it | 22 // Will add kDebugOnStart to every child processes. If a value is passed, it |
19 // will be used as a filter to determine if the child process should have the | 23 // will be used as a filter to determine if the child process should have the |
20 // kDebugOnStart flag passed on or not. | 24 // kDebugOnStart flag passed on or not. |
21 const char kDebugChildren[] = "debug-children"; | 25 const char kDebugChildren[] = "debug-children"; |
22 | 26 |
23 } // namespace switches | 27 } // namespace switches |
24 | 28 |
OLD | NEW |