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

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 server_ip_address_.reset() to ResetHandlerThread() 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
« no previous file with comments | « no previous file | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9d5ed8128615f75004a2e6308285d3a8345bbfaa..5750dede95596b6cb74d2e6c5f5d6e9abf2038b1 100644
--- a/content/browser/devtools/devtools_http_handler_impl.h
+++ b/content/browser/devtools/devtools_http_handler_impl.h
@@ -82,6 +82,8 @@ class DevToolsHttpHandlerImpl
const std::string& host,
const DevToolsManagerDelegate::TargetList& targets);
+ void OnHttpServerInitialized(const net::IPEndPoint& ip_address);
+
DevToolsTarget* GetTarget(const std::string& id);
void Init();
@@ -119,6 +121,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_;
« no previous file with comments | « no previous file | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698