| Index: net/socket/unix_domain_client_socket_posix.cc
|
| diff --git a/net/socket/unix_domain_client_socket_posix.cc b/net/socket/unix_domain_client_socket_posix.cc
|
| index 79aa275bf4b0da1039bae3149e4035db689d1ef3..5e55a92db2c88efdddb867cebbb6186a8ccff219 100644
|
| --- a/net/socket/unix_domain_client_socket_posix.cc
|
| +++ b/net/socket/unix_domain_client_socket_posix.cc
|
| @@ -12,7 +12,7 @@
|
| #include "net/base/ip_endpoint.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_util.h"
|
| -#include "net/socket/socket_libevent.h"
|
| +#include "net/socket/socket_posix.h"
|
|
|
| namespace net {
|
|
|
| @@ -22,11 +22,8 @@ UnixDomainClientSocket::UnixDomainClientSocket(const std::string& socket_path,
|
| use_abstract_namespace_(use_abstract_namespace) {
|
| }
|
|
|
| -UnixDomainClientSocket::UnixDomainClientSocket(
|
| - scoped_ptr<SocketLibevent> socket)
|
| - : use_abstract_namespace_(false),
|
| - socket_(socket.Pass()) {
|
| -}
|
| +UnixDomainClientSocket::UnixDomainClientSocket(scoped_ptr<SocketPosix> socket)
|
| + : use_abstract_namespace_(false), socket_(socket.Pass()) {}
|
|
|
| UnixDomainClientSocket::~UnixDomainClientSocket() {
|
| Disconnect();
|
| @@ -77,7 +74,7 @@ int UnixDomainClientSocket::Connect(const CompletionCallback& callback) {
|
| if (!FillAddress(socket_path_, use_abstract_namespace_, &address))
|
| return ERR_ADDRESS_INVALID;
|
|
|
| - socket_.reset(new SocketLibevent);
|
| + socket_.reset(new SocketPosix);
|
| int rv = socket_->Open(AF_UNIX);
|
| DCHECK_NE(ERR_IO_PENDING, rv);
|
| if (rv != OK)
|
|
|