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