Index: content/browser/devtools/devtools_http_handler_impl.h |
diff --git a/content/browser/devtools/devtools_http_handler_impl.h b/content/browser/devtools/devtools_http_handler_impl.h |
index d55237d697967d24dbad0a4611cd7eac22f72b35..d5cdf67f511c04243608385afd992ee1d1f1f138 100644 |
--- a/content/browser/devtools/devtools_http_handler_impl.h |
+++ b/content/browser/devtools/devtools_http_handler_impl.h |
@@ -26,7 +26,7 @@ class Value; |
} |
namespace net { |
-class StreamListenSocketFactory; |
+class ServerSocketFactory; |
class URLRequestContextGetter; |
} |
@@ -43,8 +43,7 @@ class DevToolsHttpHandlerImpl |
friend class base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>; |
friend class DevToolsHttpHandler; |
- // Takes ownership over |socket_factory|. |
- DevToolsHttpHandlerImpl(const net::StreamListenSocketFactory* socket_factory, |
+ DevToolsHttpHandlerImpl(scoped_ptr<ServerSocketFactory> server_socket_factory, |
const std::string& frontend_url, |
DevToolsHttpHandlerDelegate* delegate, |
const base::FilePath& active_port_output_directory); |
@@ -117,8 +116,8 @@ class DevToolsHttpHandlerImpl |
scoped_ptr<base::Thread> thread_; |
std::string frontend_url_; |
- scoped_ptr<const net::StreamListenSocketFactory> socket_factory_; |
- scoped_refptr<net::HttpServer> server_; |
+ scoped_ptr<ServerSocketFactory> server_socket_factory_; |
+ scoped_ptr<net::HttpServer> server_; |
typedef std::map<int, DevToolsClientHost*> ConnectionToClientHostMap; |
ConnectionToClientHostMap connection_to_client_host_ui_; |
scoped_ptr<DevToolsHttpHandlerDelegate> delegate_; |