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

Unified Diff: net/socket/unix_domain_client_socket_posix.cc

Issue 1335423002: net: Remove 'libevent' from filenames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 3 months 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 side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.h ('k') | net/socket/unix_domain_client_socket_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698