Chromium Code Reviews| Index: content/common/zygote_commands_linux.h |
| diff --git a/content/common/zygote_commands_linux.h b/content/common/zygote_commands_linux.h |
| index 9be04624a7b394aa266b939ac9ad905879e076dd..396e9328e47e9ded589356dd0fcf5a881d98e8fb 100644 |
| --- a/content/common/zygote_commands_linux.h |
| +++ b/content/common/zygote_commands_linux.h |
| @@ -18,6 +18,10 @@ static const char kZygoteBootMessage[] = "ZYGOTE_BOOT"; |
| // is ready to go. |
| static const char kZygoteHelloMessage[] = "ZYGOTE_OK"; |
| +// Message sent by zygote children to the browser so it can discover their |
|
Mark Seaborn
2014/05/06 23:34:13
Nit: to disambiguate -- "so the browser can discov
mdempsky
2014/05/07 05:39:25
Done.
|
| +// process ID. |
| +static const char kZygoteChildPingMessage[] = "CHILD_PING"; |
| + |
| // Maximum allowable length for messages sent to the zygote. |
| const size_t kZygoteMaxMessageLength = 8192; |
| @@ -38,7 +42,11 @@ enum { |
| kZygoteCommandGetTerminationStatus = 2, |
| // Read a bitmask of kSandboxLinux* |
| - kZygoteCommandGetSandboxStatus = 3 |
| + kZygoteCommandGetSandboxStatus = 3, |
| + |
| + // Not a real zygote command, but a subcommand used during the zygote fork |
| + // protocol. Sends the child's PID as seen from the browser process. |
| + kZygoteCommandForkRealPID = 4 |
| }; |
| } // namespace content |