| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ | 5 #ifndef CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ |
| 6 #define CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ | 6 #define CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // received. | 76 // received. |
| 77 base::Lock control_lock_; | 77 base::Lock control_lock_; |
| 78 // The pid of the zygote. | 78 // The pid of the zygote. |
| 79 pid_t pid_; | 79 pid_t pid_; |
| 80 // The list of running zygote children. | 80 // The list of running zygote children. |
| 81 std::set<pid_t> list_of_running_zygote_children_; | 81 std::set<pid_t> list_of_running_zygote_children_; |
| 82 // The lock to guard the list of running zygote children. | 82 // The lock to guard the list of running zygote children. |
| 83 base::Lock child_tracking_lock_; | 83 base::Lock child_tracking_lock_; |
| 84 int sandbox_status_; | 84 int sandbox_status_; |
| 85 bool have_read_sandbox_status_word_; | 85 bool have_read_sandbox_status_word_; |
| 86 bool use_suid_sandbox_for_adj_oom_score_; | |
| 87 // Set to true when the zygote is initialized successfully. | 86 // Set to true when the zygote is initialized successfully. |
| 88 bool init_; | 87 bool init_; |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 } // namespace content | 90 } // namespace content |
| 92 | 91 |
| 93 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ | 92 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ |
| OLD | NEW |