| 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 #include "chromeos/process_proxy/process_proxy.h" | 5 #include "chromeos/process_proxy/process_proxy.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <stdlib.h> | 8 #include <stdlib.h> |
| 8 #include <sys/ioctl.h> | 9 #include <sys/ioctl.h> |
| 9 | 10 |
| 10 #include "base/bind.h" | 11 #include "base/bind.h" |
| 11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 12 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
| 13 #include "base/location.h" | 14 #include "base/location.h" |
| 14 #include "base/logging.h" | 15 #include "base/logging.h" |
| 15 #include "base/posix/eintr_wrapper.h" | 16 #include "base/posix/eintr_wrapper.h" |
| 16 #include "base/process/launch.h" | 17 #include "base/process/launch.h" |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 } | 234 } |
| 234 *fd = kInvalidFd; | 235 *fd = kInvalidFd; |
| 235 } | 236 } |
| 236 | 237 |
| 237 void ProcessProxy::ClearFdPair(int* pipe) { | 238 void ProcessProxy::ClearFdPair(int* pipe) { |
| 238 pipe[PT_MASTER_FD] = kInvalidFd; | 239 pipe[PT_MASTER_FD] = kInvalidFd; |
| 239 pipe[PT_SLAVE_FD] = kInvalidFd; | 240 pipe[PT_SLAVE_FD] = kInvalidFd; |
| 240 } | 241 } |
| 241 | 242 |
| 242 } // namespace chromeos | 243 } // namespace chromeos |
| OLD | NEW |