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

Side by Side Diff: net/base/unix_domain_socket_posix.cc

Issue 11366229: Move eintr_wrapper.h from base 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 | « net/base/tcp_listen_socket_unittest.cc ('k') | net/base/unix_domain_socket_posix_unittest.cc » ('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 "net/base/unix_domain_socket_posix.h" 5 #include "net/base/unix_domain_socket_posix.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 #include <string> 8 #include <string>
9 9
10 #include <errno.h> 10 #include <errno.h>
11 #include <sys/socket.h> 11 #include <sys/socket.h>
12 #include <sys/stat.h> 12 #include <sys/stat.h>
13 #include <sys/types.h> 13 #include <sys/types.h>
14 #include <sys/un.h> 14 #include <sys/un.h>
15 #include <unistd.h> 15 #include <unistd.h>
16 16
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/callback.h" 18 #include "base/callback.h"
19 #include "base/eintr_wrapper.h" 19 #include "base/posix/eintr_wrapper.h"
20 #include "base/threading/platform_thread.h" 20 #include "base/threading/platform_thread.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
23 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
24 24
25 namespace net { 25 namespace net {
26 26
27 namespace { 27 namespace {
28 28
29 bool NoAuthenticationCallback(uid_t, gid_t) { 29 bool NoAuthenticationCallback(uid_t, gid_t) {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 scoped_refptr<StreamListenSocket> 177 scoped_refptr<StreamListenSocket>
178 UnixDomainSocketWithAbstractNamespaceFactory::CreateAndListen( 178 UnixDomainSocketWithAbstractNamespaceFactory::CreateAndListen(
179 StreamListenSocket::Delegate* delegate) const { 179 StreamListenSocket::Delegate* delegate) const {
180 return UnixDomainSocket::CreateAndListenWithAbstractNamespace( 180 return UnixDomainSocket::CreateAndListenWithAbstractNamespace(
181 path_, delegate, auth_callback_); 181 path_, delegate, auth_callback_);
182 } 182 }
183 183
184 #endif 184 #endif
185 185
186 } // namespace net 186 } // namespace net
OLDNEW
« no previous file with comments | « net/base/tcp_listen_socket_unittest.cc ('k') | net/base/unix_domain_socket_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698