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

Unified Diff: net/http/http_network_delegate.h

Issue 6541021: Send fatal proxy errors to the network delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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/http/http_network_delegate.h
diff --git a/net/http/http_network_delegate.h b/net/http/http_network_delegate.h
index 1533bc3711e818b2db4b68f52dce113b2ec6a9a2..2d363cf7766c5da63d8c1fc1d504cdd0632c64f5 100644
--- a/net/http/http_network_delegate.h
+++ b/net/http/http_network_delegate.h
@@ -20,6 +20,12 @@ class HttpNetworkDelegate {
// read/write |headers| before they get sent out.
virtual void OnSendHttpRequest(HttpRequestHeaders* headers) = 0;
+ // Called right after the response started.
+ virtual void OnResponseStarted(net::URLRequest* request) = 0;
+
+ // Called when the Read of the response body is completed.
willchan no longer on Chromium 2011/02/21 23:35:39 You should say this corresponds to URLRequest::Del
+ virtual void OnReadCompleted(net::URLRequest* request, int bytes_read) = 0;
+
protected:
virtual ~HttpNetworkDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698