Index: remoting/host/gnubby_auth_handler_posix.cc |
diff --git a/remoting/host/gnubby_auth_handler_posix.cc b/remoting/host/gnubby_auth_handler_posix.cc |
index 77938e078b70c920a03c21e1ab3532d4cfe020fd..ab1edc97235262cdca1e5328ef2ce698a0f9919d 100644 |
--- a/remoting/host/gnubby_auth_handler_posix.cc |
+++ b/remoting/host/gnubby_auth_handler_posix.cc |
@@ -14,7 +14,7 @@ |
#include "base/lazy_instance.h" |
#include "base/stl_util.h" |
#include "base/values.h" |
-#include "net/socket/unix_domain_socket_posix.h" |
+#include "net/socket/unix_domain_listen_socket_posix.h" |
#include "remoting/base/logging.h" |
#include "remoting/host/gnubby_socket.h" |
#include "remoting/proto/control.pb.h" |
@@ -263,7 +263,7 @@ void GnubbyAuthHandlerPosix::CreateAuthorizationSocket() { |
HOST_LOG << "Listening for gnubby requests on " |
<< g_gnubby_socket_name.Get().value(); |
- auth_socket_ = net::UnixDomainSocket::CreateAndListen( |
+ auth_socket_ = net::UnixDomainListenSocket::CreateAndListen( |
g_gnubby_socket_name.Get().value(), this, base::Bind(MatchUid)); |
if (!auth_socket_.get()) { |
LOG(ERROR) << "Failed to open socket for gnubby requests"; |