| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 5 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
| 15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 16 #include "net/log/net_log.h" | 16 #include "net/log/net_log_with_source.h" |
| 17 #include "net/socket/socket_descriptor.h" | 17 #include "net/socket/socket_descriptor.h" |
| 18 #include "net/socket/stream_socket.h" | 18 #include "net/socket/stream_socket.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 class SocketPosix; | 22 class SocketPosix; |
| 23 struct SockaddrStorage; | 23 struct SockaddrStorage; |
| 24 | 24 |
| 25 // A client socket that uses unix domain socket as the transport layer. | 25 // A client socket that uses unix domain socket as the transport layer. |
| 26 class NET_EXPORT UnixDomainClientSocket : public StreamSocket { | 26 class NET_EXPORT UnixDomainClientSocket : public StreamSocket { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // This net log is just to comply StreamSocket::NetLog(). It throws away | 82 // This net log is just to comply StreamSocket::NetLog(). It throws away |
| 83 // everything. | 83 // everything. |
| 84 NetLogWithSource net_log_; | 84 NetLogWithSource net_log_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); | 86 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace net | 89 } // namespace net |
| 90 | 90 |
| 91 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 91 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| OLD | NEW |