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

Unified Diff: chrome/common/socket_stream_dispatcher.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/common/socket_stream_dispatcher.h
diff --git a/chrome/common/socket_stream_dispatcher.h b/chrome/common/socket_stream_dispatcher.h
index 38da8a6b19e5e736ae13e8a04b507519161fd9d6..8b5a906257551714be55d4cd82003773a03c6063 100644
--- a/chrome/common/socket_stream_dispatcher.h
+++ b/chrome/common/socket_stream_dispatcher.h
@@ -41,6 +41,7 @@ class SocketStreamDispatcher : public IPC::Channel::Listener {
void OnSentData(int socket_id, int amount_sent);
void OnReceivedData(int socket_id, const std::vector<char>& data);
void OnClosed(int socket_id);
+ void OnError(int socket_id, int error);
DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698