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

Unified Diff: chromecast/shell/browser/devtools/remote_debugging_server.cc

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: chromecast/shell/browser/devtools/remote_debugging_server.cc
diff --git a/chromecast/shell/browser/devtools/remote_debugging_server.cc b/chromecast/shell/browser/devtools/remote_debugging_server.cc
index 076b06654ecca8b4f5f1ac6d18094dce80e385be..5e4392eb9d52a62ee1389c0945f025424d967c78 100644
--- a/chromecast/shell/browser/devtools/remote_debugging_server.cc
+++ b/chromecast/shell/browser/devtools/remote_debugging_server.cc
@@ -21,7 +21,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 // defined(OS_ANDROID)
namespace chromecast {
@@ -43,8 +43,9 @@ net::StreamListenSocketFactory* CreateSocketFactory(int port) {
socket_name = command_line->GetSwitchValueASCII(
switches::kRemoteDebuggingSocketName);
}
- return new net::UnixDomainSocketWithAbstractNamespaceFactory(
- socket_name, "", base::Bind(&content::CanUserConnectToDevTools));
+ return new net::deprecated::
+ UnixDomainListenSocketWithAbstractNamespaceFactory(
Yaron 2014/08/20 18:11:02 This is being changed in https://codereview.chromi
gunsch 2014/08/21 22:31:28 Acknowledged. Reviewed that CL for Byungchul but e
+ socket_name, "", base::Bind(&content::CanUserConnectToDevTools));
#else
return new net::TCPListenSocketFactory("0.0.0.0", port);
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698