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

Unified Diff: chrome/browser/renderer_host/socket_stream_dispatcher_host.h

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: chrome/browser/renderer_host/socket_stream_dispatcher_host.h
diff --git a/chrome/browser/renderer_host/socket_stream_dispatcher_host.h b/chrome/browser/renderer_host/socket_stream_dispatcher_host.h
index 23d18e05e8ec059f0bb2793e7ed84475ba23084c..836647de8b1599a19c0c2f80326bc090de22f66a 100644
--- a/chrome/browser/renderer_host/socket_stream_dispatcher_host.h
+++ b/chrome/browser/renderer_host/socket_stream_dispatcher_host.h
@@ -39,6 +39,7 @@ class SocketStreamDispatcherHost : public BrowserMessageFilter,
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);
void set_url_request_context_override(
ResourceMessageFilter::URLRequestContextOverride* u) {

Powered by Google App Engine
This is Rietveld 408576698