Chromium Code Reviews| 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() {} |
| }; |