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

Unified Diff: net/websockets/websocket_throttle_unittest.cc

Issue 6474012: Create a path to deliver SocketStream errors to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit test and test_shell code Created 9 years, 10 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
Index: net/websockets/websocket_throttle_unittest.cc
diff --git a/net/websockets/websocket_throttle_unittest.cc b/net/websockets/websocket_throttle_unittest.cc
index 7eb18fa52567c8629120a5d2b5ce54ff50bf95f2..1348ab8993adb1e167ba7b5691fa61262ae1c2c5 100644
--- a/net/websockets/websocket_throttle_unittest.cc
+++ b/net/websockets/websocket_throttle_unittest.cc
@@ -25,6 +25,7 @@ class DummySocketStreamDelegate : public net::SocketStream::Delegate {
virtual void OnReceivedData(net::SocketStream* socket,
const char* data, int len) {}
virtual void OnClose(net::SocketStream* socket) {}
+ virtual void OnError(const net::SocketStream* socket, int error) {}
};
namespace net {

Powered by Google App Engine
This is Rietveld 408576698