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

Unified Diff: net/server/http_server.h

Issue 7482041: DevTools: no way to remote debug using ToT build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 9 years, 5 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
diff --git a/net/server/http_server.h b/net/server/http_server.h
index 78f6e42d8edaaee577143abd4e6c5946ed2b377a..b230dbd25213376c8a5f0f63a33659f09da08472 100644
--- a/net/server/http_server.h
+++ b/net/server/http_server.h
@@ -70,11 +70,25 @@ private:
bool is_web_socket_;
std::string recv_data_;
int id_;
+ bool use_hixie76_web_socket_;
DISALLOW_COPY_AND_ASSIGN(Connection);
};
friend class Connection;
+ void AcceptWebSocketHyBi10(Connection* connection,
+ const HttpServerRequestInfo& request);
+ void SendOverWebSocketHyBi10(Connection* connection, const std::string& data);
+
+ bool DidReadWebSocketHyBi10(Connection* connection,
+ char* data,
+ size_t length,
+ std::string* message);
+
+ void AcceptWebSocketHixie76(Connection* connection,
+ const HttpServerRequestInfo& request);
+ void SendOverWebSocketHixie76(Connection* connection,
+ const std::string& data);
// ListenSocketDelegate
virtual void DidAccept(ListenSocket* server, ListenSocket* socket);
« no previous file with comments | « net/server/OWNERS ('k') | net/server/http_server.cc » ('j') | net/server/http_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698