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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 105833003: Fail WebSocket channel when handshake fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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
Index: net/http/http_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index 87c18475c00027d609a3e7bc9ee4d76b65776226..aa6e2984d1707330a76a229a61e14716ef3bbc4f 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -116,6 +116,10 @@ class MockWebSocketHandshakeStream : public WebSocketHandshakeStreamBase {
return scoped_ptr<WebSocketStream>();
}
+ virtual std::string FailureMessage() const OVERRIDE {
+ return std::string();
+ }
+
private:
const StreamType type_;
};

Powered by Google App Engine
This is Rietveld 408576698