| 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 "ipc/ipc_channel_nacl.h" | 5 #include "ipc/ipc_channel_nacl.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 | 10 |
| 11 #include <algorithm> | 11 #include <algorithm> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/message_loop_proxy.h" | 15 #include "base/message_loop/message_loop_proxy.h" |
| 16 #include "base/process_util.h" | 16 #include "base/process_util.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "base/task_runner_util.h" | 18 #include "base/task_runner_util.h" |
| 19 #include "base/threading/simple_thread.h" | 19 #include "base/threading/simple_thread.h" |
| 20 #include "ipc/file_descriptor_set_posix.h" | 20 #include "ipc/file_descriptor_set_posix.h" |
| 21 #include "ipc/ipc_logging.h" | 21 #include "ipc/ipc_logging.h" |
| 22 #include "native_client/src/public/imc_syscalls.h" | 22 #include "native_client/src/public/imc_syscalls.h" |
| 23 #include "native_client/src/public/imc_types.h" | 23 #include "native_client/src/public/imc_types.h" |
| 24 | 24 |
| 25 namespace IPC { | 25 namespace IPC { |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 // This shouldn't actually get used in the untrusted side of the proxy, and we | 376 // This shouldn't actually get used in the untrusted side of the proxy, and we |
| 377 // don't have the real pid anyway. | 377 // don't have the real pid anyway. |
| 378 return -1; | 378 return -1; |
| 379 } | 379 } |
| 380 | 380 |
| 381 bool Channel::Send(Message* message) { | 381 bool Channel::Send(Message* message) { |
| 382 return channel_impl_->Send(message); | 382 return channel_impl_->Send(message); |
| 383 } | 383 } |
| 384 | 384 |
| 385 } // namespace IPC | 385 } // namespace IPC |
| OLD | NEW |