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

Unified Diff: content/browser/devtools/devtools_http_handler_impl.h

Issue 666673007: [DevTools] Keep IP address of HttpServer as a member of DevToolsHttpHandlerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the server_ip_address declaration next to the server_ Created 6 years, 2 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: 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 e861ea6d82f6a9623cabfe599f259b765a631ef2..0ce71eb60aef5b3cd1162db198f9adf0a112d642 100644
--- a/content/browser/devtools/devtools_http_handler_impl.h
+++ b/content/browser/devtools/devtools_http_handler_impl.h
@@ -28,6 +28,7 @@ class Value;
}
namespace net {
+class IPEndPoint;
class ServerSocketFactory;
class URLRequestContextGetter;
}
@@ -121,6 +122,7 @@ class DevToolsHttpHandlerImpl
std::string frontend_url_;
const scoped_ptr<ServerSocketFactory> server_socket_factory_;
scoped_ptr<net::HttpServer> server_;
+ scoped_ptr<net::IPEndPoint> server_ip_address_;
typedef std::map<int, DevToolsAgentHostClient*> ConnectionToClientMap;
ConnectionToClientMap connection_to_client_ui_;
const scoped_ptr<DevToolsHttpHandlerDelegate> delegate_;

Powered by Google App Engine
This is Rietveld 408576698