diff options
author | ricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-23 13:47:01 +0000 |
---|---|---|
committer | ricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-23 13:47:01 +0000 |
commit | 693ebf370811fabc6d9dc7ca1682a182998adce3 (patch) | |
tree | 8d57531048236bb194fc12e9a1a3ffd80d71cd43 /net/websockets/websocket_basic_stream.h | |
parent | a6358f2b505bb5f1f0e58f6ced9080b98cd15240 (diff) | |
download | chromium_src-693ebf370811fabc6d9dc7ca1682a182998adce3.zip chromium_src-693ebf370811fabc6d9dc7ca1682a182998adce3.tar.gz chromium_src-693ebf370811fabc6d9dc7ca1682a182998adce3.tar.bz2 |
Changes to class hierachy to prepare for WebSocketBasicHandshakeStream.
See https://codereview.chromium.org/25417005/ for the in-progress development of WebSocketBasicHandshakeStream.
See
design doc at
https://docs.google.com/a/google.com/document/d/1AH2lRR2i2Wf4yODgckgdsvZeuGwpbvsvMGLnAMUXUbM/edit
for the reasoning behind the changes.
This CL does not include the renaming of WebSocketStreamBase to WebSocketHandshakeStreamBase. This decision is a bit arbitrary.
BUG=303568
TEST=net_unittests
Review URL: https://codereview.chromium.org/26872005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets/websocket_basic_stream.h')
-rw-r--r-- | net/websockets/websocket_basic_stream.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/websockets/websocket_basic_stream.h b/net/websockets/websocket_basic_stream.h index a071e61..601a236 100644 --- a/net/websockets/websocket_basic_stream.h +++ b/net/websockets/websocket_basic_stream.h @@ -19,8 +19,6 @@ namespace net { class ClientSocketHandle; class DrainableIOBuffer; class GrowableIOBuffer; -class HttpRequestHeaders; -class HttpResponseInfo; class IOBufferWithSize; struct WebSocketFrame; struct WebSocketFrameChunk; @@ -52,16 +50,6 @@ class NET_EXPORT_PRIVATE WebSocketBasicStream : public WebSocketStream { virtual std::string GetExtensions() const OVERRIDE; - // Writes WebSocket handshake request HTTP-style to the connection. Adds - // "Sec-WebSocket-Key" header; this should not be included in |headers|. - virtual int SendHandshakeRequest(const GURL& url, - const HttpRequestHeaders& headers, - HttpResponseInfo* response_info, - const CompletionCallback& callback) OVERRIDE; - - virtual int ReadHandshakeResponse( - const CompletionCallback& callback) OVERRIDE; - //////////////////////////////////////////////////////////////////////////// // Methods for testing only. |