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: remoting/host/gnubby_auth_handler_posix.cc

Issue 376323002: Refactor unix domain socket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert filename of unix domain listen socket temporarily for review convenience Created 6 years, 5 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: 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..6b921750d17f45a83cb62ba03b4b4a88ab8c9a61 100644
--- a/remoting/host/gnubby_auth_handler_posix.cc
+++ b/remoting/host/gnubby_auth_handler_posix.cc
@@ -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";
« net/socket/unix_domain_socket_posix.cc ('K') | « net/socket/unix_domain_socket_posix_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698