Index: net/websockets/websocket_basic_handshake_stream.h |
diff --git a/net/websockets/websocket_basic_handshake_stream.h b/net/websockets/websocket_basic_handshake_stream.h |
index 69deca2dcf8a1db443d0344f0cdd6652d0e6c0d5..8fb1dc04b3c7c53accaa195664f96e50c51f82eb 100644 |
--- a/net/websockets/websocket_basic_handshake_stream.h |
+++ b/net/websockets/websocket_basic_handshake_stream.h |
@@ -71,6 +71,8 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream |
// For tests only. |
void SetWebSocketKeyForTesting(const std::string& key); |
+ virtual std::string FailureMessage() const OVERRIDE; |
+ |
private: |
// A wrapper for the ReadResponseHeaders callback that checks whether or not |
// the connection has been accepted. |
@@ -113,6 +115,8 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream |
// The extension(s) selected by the server. |
std::string extensions_; |
+ std::string failure_message_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream); |
}; |