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

Unified Diff: net/websockets/websocket_handshake_handler.h

Issue 10843050: WebSocket over SPDY: handshake support for both of SPDY/2 and SPDY/3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for landing Created 8 years, 4 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 | « net/net.gyp ('k') | net/websockets/websocket_handshake_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_handshake_handler.h
diff --git a/net/websockets/websocket_handshake_handler.h b/net/websockets/websocket_handshake_handler.h
index 2093adbae4cb5c04a7ba3719042393e1eac0beb9..9ac142bc5e8659f8f0ce7ff61df639514dc617ab 100644
--- a/net/websockets/websocket_handshake_handler.h
+++ b/net/websockets/websocket_handshake_handler.h
@@ -68,7 +68,8 @@ class NET_EXPORT_PRIVATE WebSocketHandshakeRequestHandler {
// Also, fills challenge data in |challenge|.
bool GetRequestHeaderBlock(const GURL& url,
SpdyHeaderBlock* headers,
- std::string* challenge);
+ std::string* challenge,
+ int spdy_protocol_version);
// Gets WebSocket handshake raw request message to open WebSocket
// connection.
std::string GetRawRequest();
@@ -117,7 +118,8 @@ class NET_EXPORT_PRIVATE WebSocketHandshakeResponseHandler {
const std::string& challenge);
// Parses WebSocket handshake response as SpdyHeaderBlock.
bool ParseResponseHeaderBlock(const SpdyHeaderBlock& headers,
- const std::string& challenge);
+ const std::string& challenge,
+ int spdy_protocol_version);
// Gets the headers value.
void GetHeaders(const char* const headers_to_get[],
« no previous file with comments | « net/net.gyp ('k') | net/websockets/websocket_handshake_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698