| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/types.h> | 10 #include <sys/types.h> |
| 11 #include <sys/socket.h> | 11 #include <sys/socket.h> |
| 12 #include <sys/stat.h> | 12 #include <sys/stat.h> |
| 13 #include <sys/un.h> | 13 #include <sys/un.h> |
| 14 | 14 |
| 15 #include <string> | 15 #include <string> |
| 16 #include <map> | 16 #include <map> |
| 17 | 17 |
| 18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
| 19 #include "base/eintr_wrapper.h" | 19 #include "base/eintr_wrapper.h" |
| 20 #include "base/file_path.h" | 20 #include "base/file_path.h" |
| 21 #include "base/file_util.h" | 21 #include "base/file_util.h" |
| 22 #include "base/global_descriptors_posix.h" | 22 #include "base/global_descriptors_posix.h" |
| 23 #include "base/logging.h" | 23 #include "base/logging.h" |
| 24 #include "base/memory/scoped_ptr.h" | 24 #include "base/memory/scoped_ptr.h" |
| 25 #include "base/memory/singleton.h" | 25 #include "base/memory/singleton.h" |
| 26 #include "base/process_util.h" | 26 #include "base/process_util.h" |
| 27 #include "base/stl_util-inl.h" | 27 #include "base/stl_util.h" |
| 28 #include "base/string_util.h" | 28 #include "base/string_util.h" |
| 29 #include "base/synchronization/lock.h" | 29 #include "base/synchronization/lock.h" |
| 30 #include "ipc/ipc_descriptors.h" | 30 #include "ipc/ipc_descriptors.h" |
| 31 #include "ipc/ipc_switches.h" | 31 #include "ipc/ipc_switches.h" |
| 32 #include "ipc/file_descriptor_set_posix.h" | 32 #include "ipc/file_descriptor_set_posix.h" |
| 33 #include "ipc/ipc_logging.h" | 33 #include "ipc/ipc_logging.h" |
| 34 #include "ipc/ipc_message_utils.h" | 34 #include "ipc/ipc_message_utils.h" |
| 35 | 35 |
| 36 namespace IPC { | 36 namespace IPC { |
| 37 | 37 |
| (...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 | 1196 |
| 1197 bool Channel::GetClientEuid(uid_t* client_euid) const { | 1197 bool Channel::GetClientEuid(uid_t* client_euid) const { |
| 1198 return channel_impl_->GetClientEuid(client_euid); | 1198 return channel_impl_->GetClientEuid(client_euid); |
| 1199 } | 1199 } |
| 1200 | 1200 |
| 1201 void Channel::ResetToAcceptingConnectionState() { | 1201 void Channel::ResetToAcceptingConnectionState() { |
| 1202 channel_impl_->ResetToAcceptingConnectionState(); | 1202 channel_impl_->ResetToAcceptingConnectionState(); |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 } // namespace IPC | 1205 } // namespace IPC |
| OLD | NEW |