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 "net/base/unix_domain_socket_posix.h" | 5 #include "net/socket/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> |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |