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_posix.h" | 5 #include "ipc/ipc_channel_posix.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <sys/socket.h> | 10 #include <sys/socket.h> |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #include "base/command_line.h" | 23 #include "base/command_line.h" |
24 #include "base/file_util.h" | 24 #include "base/file_util.h" |
25 #include "base/files/file_path.h" | 25 #include "base/files/file_path.h" |
26 #include "base/location.h" | 26 #include "base/location.h" |
27 #include "base/logging.h" | 27 #include "base/logging.h" |
28 #include "base/memory/scoped_ptr.h" | 28 #include "base/memory/scoped_ptr.h" |
29 #include "base/memory/singleton.h" | 29 #include "base/memory/singleton.h" |
30 #include "base/posix/eintr_wrapper.h" | 30 #include "base/posix/eintr_wrapper.h" |
31 #include "base/posix/global_descriptors.h" | 31 #include "base/posix/global_descriptors.h" |
32 #include "base/process_util.h" | 32 #include "base/process/process_handle.h" |
33 #include "base/rand_util.h" | 33 #include "base/rand_util.h" |
34 #include "base/stl_util.h" | 34 #include "base/stl_util.h" |
35 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
36 #include "base/synchronization/lock.h" | 36 #include "base/synchronization/lock.h" |
37 #include "ipc/file_descriptor_set_posix.h" | 37 #include "ipc/file_descriptor_set_posix.h" |
38 #include "ipc/ipc_descriptors.h" | 38 #include "ipc/ipc_descriptors.h" |
39 #include "ipc/ipc_listener.h" | 39 #include "ipc/ipc_listener.h" |
40 #include "ipc/ipc_logging.h" | 40 #include "ipc/ipc_logging.h" |
41 #include "ipc/ipc_message_utils.h" | 41 #include "ipc/ipc_message_utils.h" |
42 #include "ipc/ipc_switches.h" | 42 #include "ipc/ipc_switches.h" |
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 | 1019 |
1020 | 1020 |
1021 #if defined(OS_LINUX) | 1021 #if defined(OS_LINUX) |
1022 // static | 1022 // static |
1023 void Channel::SetGlobalPid(int pid) { | 1023 void Channel::SetGlobalPid(int pid) { |
1024 ChannelImpl::SetGlobalPid(pid); | 1024 ChannelImpl::SetGlobalPid(pid); |
1025 } | 1025 } |
1026 #endif // OS_LINUX | 1026 #endif // OS_LINUX |
1027 | 1027 |
1028 } // namespace IPC | 1028 } // namespace IPC |
OLD | NEW |