Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(870)

Side by Side Diff: ipc/ipc_channel_posix.cc

Issue 11293210: Move global_descriptors to base/posix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | ipc/ipc_descriptors.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/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 #include <unistd.h> 14 #include <unistd.h>
15 15
16 #if defined(OS_OPENBSD) 16 #if defined(OS_OPENBSD)
17 #include <sys/uio.h> 17 #include <sys/uio.h>
18 #endif 18 #endif
19 19
20 #include <string> 20 #include <string>
21 #include <map> 21 #include <map>
22 22
23 #include "base/command_line.h" 23 #include "base/command_line.h"
24 #include "base/eintr_wrapper.h" 24 #include "base/eintr_wrapper.h"
25 #include "base/file_path.h" 25 #include "base/file_path.h"
26 #include "base/file_util.h" 26 #include "base/file_util.h"
27 #include "base/global_descriptors_posix.h"
28 #include "base/location.h" 27 #include "base/location.h"
29 #include "base/logging.h" 28 #include "base/logging.h"
30 #include "base/memory/scoped_ptr.h" 29 #include "base/memory/scoped_ptr.h"
31 #include "base/memory/singleton.h" 30 #include "base/memory/singleton.h"
31 #include "base/posix/global_descriptors.h"
32 #include "base/process_util.h" 32 #include "base/process_util.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/string_util.h" 35 #include "base/string_util.h"
36 #include "base/synchronization/lock.h" 36 #include "base/synchronization/lock.h"
37 #include "ipc/ipc_descriptors.h" 37 #include "ipc/ipc_descriptors.h"
38 #include "ipc/ipc_switches.h" 38 #include "ipc/ipc_switches.h"
39 #include "ipc/file_descriptor_set_posix.h" 39 #include "ipc/file_descriptor_set_posix.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"
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 1187
1188 1188
1189 #if defined(OS_LINUX) 1189 #if defined(OS_LINUX)
1190 // static 1190 // static
1191 void Channel::SetGlobalPid(int pid) { 1191 void Channel::SetGlobalPid(int pid) {
1192 ChannelImpl::SetGlobalPid(pid); 1192 ChannelImpl::SetGlobalPid(pid);
1193 } 1193 }
1194 #endif // OS_LINUX 1194 #endif // OS_LINUX
1195 1195
1196 } // namespace IPC 1196 } // namespace IPC
OLDNEW
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | ipc/ipc_descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698