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

Unified Diff: net/server/web_socket.h

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/quic/quic_stream_factory.cc ('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/quic/quic_stream_factory.cc ('k') | net/server/web_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698