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

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: cosmetic changes 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
« no previous file with comments | « no previous file | net/server/http_server.cc » ('j') | net/server/http_server.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server.h
diff --git a/net/server/http_server.h b/net/server/http_server.h
index 78f6e42d8edaaee577143abd4e6c5946ed2b377a..b1e0dc2698000bb830253e792bd4925cc9816268 100644
--- a/net/server/http_server.h
+++ b/net/server/http_server.h
@@ -70,11 +70,27 @@ private:
bool is_web_socket_;
std::string recv_data_;
int id_;
+ bool use_hybi10_web_socket_;
pfeldman 2011/07/28 09:32:47 We should flag legacy protocol use instead (use_hi
DISALLOW_COPY_AND_ASSIGN(Connection);
};
friend class Connection;
+ bool WebSocketHandshakeHyBi10(Connection* connection,
pfeldman 2011/07/28 09:32:47 Lets keep current version methods with no suffix (
+ const HttpServerRequestInfo& request);
+ 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 | « no previous file | net/server/http_server.cc » ('j') | net/server/http_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698