OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_COMMON_ZYGOTE_COMMANDS_LINUX_H_ |
| 6 #define CONTENT_COMMON_ZYGOTE_COMMANDS_LINUX_H_ |
| 7 |
| 8 namespace content { |
| 9 |
| 10 // Contents of the initial message sent from the zygote to the browser when it |
| 11 // is ready to go. |
| 12 static const char kZygoteHelloMessage[] = "ZYGOTE_OK"; |
| 13 |
| 14 // These are the command codes used on the wire between the browser and the |
| 15 // zygote. |
| 16 enum { |
| 17 // Fork off a new renderer. |
| 18 kZygoteCommandFork = 0, |
| 19 |
| 20 // Reap a renderer child. |
| 21 kZygoteCommandReap = 1, |
| 22 |
| 23 // Check what happend to a child process. |
| 24 kZygoteCommandGetTerminationStatus = 2, |
| 25 |
| 26 // Read a bitmask of kSandboxLinux* |
| 27 kZygoteCommandGetSandboxStatus = 3 |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_COMMON_ZYGOTE_COMMANDS_LINUX_H_ |
OLD | NEW |