| Index: net/websockets/websocket_handshake_stream_base.h
|
| diff --git a/net/websockets/websocket_handshake_stream_base.h b/net/websockets/websocket_handshake_stream_base.h
|
| index 71d8321824fd1497c2bd4b8a01829c37d54cfd10..2a8f2ca48f6f2f10137c0f8786d13234454bbd9f 100644
|
| --- a/net/websockets/websocket_handshake_stream_base.h
|
| +++ b/net/websockets/websocket_handshake_stream_base.h
|
| @@ -9,6 +9,8 @@
|
| // Since net/http can be built without linking net/websockets code,
|
| // this file must not introduce any link-time dependencies on websockets.
|
|
|
| +#include <string>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -64,6 +66,10 @@ class NET_EXPORT WebSocketHandshakeStreamBase : public HttpStreamBase {
|
| // been called.
|
| virtual scoped_ptr<WebSocketStream> Upgrade() = 0;
|
|
|
| + // Returns a string describes the connection failure detailed information.
|
| + // Returns an empty string if there is no such failure.
|
| + virtual std::string FailureMessage() const = 0;
|
| +
|
| protected:
|
| // As with the destructor, this must be inline.
|
| WebSocketHandshakeStreamBase() {}
|
|
|