Index: chrome/browser/resource_dispatcher_host.h |
=================================================================== |
--- chrome/browser/resource_dispatcher_host.h (revision 5928) |
+++ chrome/browser/resource_dispatcher_host.h (working copy) |
@@ -396,6 +396,14 @@ |
// true on success. |
bool CompleteResponseStarted(URLRequest* request); |
+ // Cancels the given request if it still exists. We ignore cancels from the |
+ // renderer in the event of a download. If |allow_delete| is true and no IO |
+ // is pending, the request is removed and deleted. |
+ void CancelRequest(int render_process_host_id, |
+ int request_id, |
+ bool from_renderer, |
+ bool allow_delete); |
+ |
// Helper function for regular and download requests. |
void BeginRequestInternal(URLRequest* request, bool mixed_content); |