| Index: chrome/browser/zygote_host_linux.h
|
| diff --git a/chrome/browser/zygote_host_linux.h b/chrome/browser/zygote_host_linux.h
|
| index 94ac92ee5b66125b73b4ce3ef5f580f3a1bdea67..516a18ba89c9a9c95f6fbc6777debe82ee3ff961 100644
|
| --- a/chrome/browser/zygote_host_linux.h
|
| +++ b/chrome/browser/zygote_host_linux.h
|
| @@ -8,6 +8,8 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include <unistd.h>
|
| +
|
| #include "base/global_descriptors_posix.h"
|
| #include "base/process.h"
|
|
|
| @@ -39,12 +41,15 @@ class ZygoteHost {
|
| kCmdDidProcessCrash = 2, // Check if child process crashed.
|
| };
|
|
|
| + pid_t pid() const { return pid_; }
|
| +
|
| private:
|
| friend struct DefaultSingletonTraits<ZygoteHost>;
|
| ZygoteHost();
|
| void LaunchZygoteProcess();
|
|
|
| int control_fd_; // the socket to the zygote
|
| + pid_t pid_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_
|
|
|