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

Unified Diff: net/server/http_server.h

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
Index: net/server/http_server.h
===================================================================
--- net/server/http_server.h (revision 150609)
+++ net/server/http_server.h (working copy)
@@ -16,6 +16,7 @@
class HttpConnection;
class HttpServerRequestInfo;
+class IPEndPoint;
class WebSocket;
class HttpServer : public StreamListenSocket::Delegate,
@@ -53,6 +54,9 @@
void Send500(int connection_id, const std::string& message);
void Close(int connection_id);
+ // Copies the local address to |address|. Returns a network error code.
+ int GetLocalAddress(IPEndPoint* address);
+
// ListenSocketDelegate
virtual void DidAccept(StreamListenSocket* server,
StreamListenSocket* socket) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698