| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ | 5 #ifndef CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ |
| 6 #define CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ | 6 #define CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ |
| 7 | 7 |
| 8 #include <unistd.h> | 8 #include <unistd.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 pid_t pid() const { return pid_; } | 48 pid_t pid() const { return pid_; } |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 friend struct DefaultSingletonTraits<ZygoteHost>; | 51 friend struct DefaultSingletonTraits<ZygoteHost>; |
| 52 ZygoteHost(); | 52 ZygoteHost(); |
| 53 ~ZygoteHost(); | 53 ~ZygoteHost(); |
| 54 | 54 |
| 55 int control_fd_; // the socket to the zygote | 55 int control_fd_; // the socket to the zygote |
| 56 pid_t pid_; | 56 pid_t pid_; |
| 57 bool init_; | 57 bool init_; |
| 58 bool using_suid_sandbox_; |
| 59 std::string sandbox_binary_; |
| 58 }; | 60 }; |
| 59 | 61 |
| 60 #endif // CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ | 62 #endif // CHROME_BROWSER_ZYGOTE_HOST_LINUX_H_ |
| OLD | NEW |