Index: content/shell/browser/shell_devtools_delegate.cc |
diff --git a/content/shell/browser/shell_devtools_delegate.cc b/content/shell/browser/shell_devtools_delegate.cc |
index d316b2a1c6a1ec8c150ca9e11ad7b2b49e58c319..2768f8b7e60189e6fdc3181c1436a6beee8c31b4 100644 |
--- a/content/shell/browser/shell_devtools_delegate.cc |
+++ b/content/shell/browser/shell_devtools_delegate.cc |
@@ -29,7 +29,7 @@ |
#if defined(OS_ANDROID) |
#include "content/public/browser/android/devtools_auth.h" |
-#include "net/socket/unix_domain_socket_posix.h" |
+#include "net/socket/unix_domain_listen_socket_posix.h" |
#endif |
using content::DevToolsAgentHost; |
@@ -52,8 +52,9 @@ net::StreamListenSocketFactory* CreateSocketFactory() { |
socket_name = command_line.GetSwitchValueASCII( |
switches::kRemoteDebuggingSocketName); |
} |
- return new net::UnixDomainSocketWithAbstractNamespaceFactory( |
- socket_name, "", base::Bind(&content::CanUserConnectToDevTools)); |
+ return new net::deprecated:: |
+ UnixDomainListenSocketWithAbstractNamespaceFactory( |
+ socket_name, "", base::Bind(&content::CanUserConnectToDevTools)); |
#else |
// See if the user specified a port on the command line (useful for |
// automation). If not, use an ephemeral port by specifying 0. |