| 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 <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/process/kill.h" | 12 #include "base/process/kill.h" |
| 12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 14 #include "content/public/browser/file_descriptor_info.h" | 15 #include "content/public/browser/file_descriptor_info.h" |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| 18 class CONTENT_EXPORT ZygoteCommunication { | 19 class CONTENT_EXPORT ZygoteCommunication { |
| 19 public: | 20 public: |
| 20 ZygoteCommunication(); | 21 ZygoteCommunication(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 int sandbox_status_; | 84 int sandbox_status_; |
| 84 bool have_read_sandbox_status_word_; | 85 bool have_read_sandbox_status_word_; |
| 85 bool use_suid_sandbox_for_adj_oom_score_; | 86 bool use_suid_sandbox_for_adj_oom_score_; |
| 86 // Set to true when the zygote is initialized successfully. | 87 // Set to true when the zygote is initialized successfully. |
| 87 bool init_; | 88 bool init_; |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace content | 91 } // namespace content |
| 91 | 92 |
| 92 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ | 93 #endif // CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_ |
| OLD | NEW |