| 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);
|
|
|