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

Unified Diff: net/server/http_server.cc

Issue 10837177: Add a menu item to content_shell to open devtools to make it more discoverable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android compile, and add gtk support Created 8 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
« content/shell/shell_browser_main_parts.cc ('K') | « net/server/http_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server.cc
===================================================================
--- net/server/http_server.cc (revision 150609)
+++ net/server/http_server.cc (working copy)
@@ -83,8 +83,7 @@
connection->Send500(message);
}
-void HttpServer::Close(int connection_id)
-{
+void HttpServer::Close(int connection_id) {
HttpConnection* connection = FindConnection(connection_id);
if (connection == NULL)
return;
@@ -94,6 +93,10 @@
DidClose(connection->socket_);
}
+int HttpServer::GetLocalAddress(IPEndPoint* address) {
+ return server_->GetLocalAddress(address);
+}
+
void HttpServer::DidAccept(StreamListenSocket* server,
StreamListenSocket* socket) {
HttpConnection* connection = new HttpConnection(this, socket);
« content/shell/shell_browser_main_parts.cc ('K') | « net/server/http_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698