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/message_loop_proxy.h" | 15 #include "base/message_loop/message_loop_proxy.h" |
16 #include "base/process_util.h" | |
17 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
18 #include "base/task_runner_util.h" | 17 #include "base/task_runner_util.h" |
19 #include "base/threading/simple_thread.h" | 18 #include "base/threading/simple_thread.h" |
20 #include "ipc/file_descriptor_set_posix.h" | 19 #include "ipc/file_descriptor_set_posix.h" |
21 #include "ipc/ipc_logging.h" | 20 #include "ipc/ipc_logging.h" |
22 #include "native_client/src/public/imc_syscalls.h" | 21 #include "native_client/src/public/imc_syscalls.h" |
23 #include "native_client/src/public/imc_types.h" | 22 #include "native_client/src/public/imc_types.h" |
24 | 23 |
25 namespace IPC { | 24 namespace IPC { |
26 | 25 |
(...skipping 349 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 | 375 // This shouldn't actually get used in the untrusted side of the proxy, and we |
377 // don't have the real pid anyway. | 376 // don't have the real pid anyway. |
378 return -1; | 377 return -1; |
379 } | 378 } |
380 | 379 |
381 bool Channel::Send(Message* message) { | 380 bool Channel::Send(Message* message) { |
382 return channel_impl_->Send(message); | 381 return channel_impl_->Send(message); |
383 } | 382 } |
384 | 383 |
385 } // namespace IPC | 384 } // namespace IPC |
OLD | NEW |