OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_HOST_IMPL_LINUX_H_ | 5 #ifndef CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_HOST_IMPL_LINUX_H_ |
6 #define CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_HOST_IMPL_LINUX_H_ | 6 #define CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_HOST_IMPL_LINUX_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/pickle.h" | 14 #include "base/pickle.h" |
13 #include "base/process/kill.h" | 15 #include "base/process/kill.h" |
14 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
15 #include "content/public/browser/file_descriptor_info.h" | 17 #include "content/public/browser/file_descriptor_info.h" |
16 #include "content/public/browser/zygote_host_linux.h" | 18 #include "content/public/browser/zygote_host_linux.h" |
17 | 19 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // A lock protecting list_of_running_zygote_children_ and | 103 // A lock protecting list_of_running_zygote_children_ and |
102 // should_teardown_after_last_child_exits_. | 104 // should_teardown_after_last_child_exits_. |
103 base::Lock child_tracking_lock_; | 105 base::Lock child_tracking_lock_; |
104 std::set<pid_t> list_of_running_zygote_children_; | 106 std::set<pid_t> list_of_running_zygote_children_; |
105 bool should_teardown_after_last_child_exits_; | 107 bool should_teardown_after_last_child_exits_; |
106 }; | 108 }; |
107 | 109 |
108 } // namespace content | 110 } // namespace content |
109 | 111 |
110 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_HOST_IMPL_LINUX_H_ | 112 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_HOST_IMPL_LINUX_H_ |
OLD | NEW |