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

Unified Diff: net/server/web_socket.h

Issue 769423005: Support WebSocket per-message deflate extension in http server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix iOS build Created 6 years 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 | « net/net.gypi ('k') | net/server/web_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/web_socket.h
diff --git a/net/server/web_socket.h b/net/server/web_socket.h
index 9b3a794452af27537752c08bffad4a3431d4fcae..3f2c1d8759f7998a9c3a7c28d3eda4b65c496719 100644
--- a/net/server/web_socket.h
+++ b/net/server/web_socket.h
@@ -30,18 +30,10 @@ class WebSocket {
const HttpServerRequestInfo& request,
size_t* pos);
- static ParseResult DecodeFrameHybi17(const base::StringPiece& frame,
- bool client_frame,
- int* bytes_consumed,
- std::string* output);
-
- static std::string EncodeFrameHybi17(const std::string& data,
- int masking_key);
-
virtual void Accept(const HttpServerRequestInfo& request) = 0;
virtual ParseResult Read(std::string* message) = 0;
virtual void Send(const std::string& message) = 0;
- virtual ~WebSocket() {}
+ virtual ~WebSocket();
protected:
WebSocket(HttpServer* server, HttpConnection* connection);
« no previous file with comments | « net/net.gypi ('k') | net/server/web_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698