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 2e5b628cde6491e1b55cb34f14db5f54bd4ace87..8f3cdf5d8a54d6a8719418fc960fbf0087309d71 100644 |
--- a/net/websockets/websocket_basic_handshake_stream.h |
+++ b/net/websockets/websocket_basic_handshake_stream.h |
@@ -72,6 +72,8 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream |
// For tests only. |
void SetWebSocketKeyForTesting(const std::string& key); |
+ virtual std::string GetFailureMessage() const OVERRIDE; |
+ |
private: |
// A wrapper for the ReadResponseHeaders callback that checks whether or not |
// the connection has been accepted. |
@@ -114,6 +116,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); |
}; |