Index: chrome/browser/renderer_host/download_throttling_resource_handler.h |
diff --git a/chrome/browser/renderer_host/download_throttling_resource_handler.h b/chrome/browser/renderer_host/download_throttling_resource_handler.h |
index 4e10c0dff4b23eb98149745c4392f9b0ddc45d4b..1fab3eaf01f9145dfe2b3925f67114b8f4f57858 100644 |
--- a/chrome/browser/renderer_host/download_throttling_resource_handler.h |
+++ b/chrome/browser/renderer_host/download_throttling_resource_handler.h |
@@ -58,7 +58,6 @@ class DownloadThrottlingResourceHandler |
// DownloadRequestLimiter::Callback implementation: |
virtual void CancelDownload(); |
virtual void ContinueDownload(); |
- virtual int GetRequestId(); |
private: |
virtual ~DownloadThrottlingResourceHandler(); |
@@ -91,6 +90,10 @@ class DownloadThrottlingResourceHandler |
// we ignore one of them. |
bool ignore_on_read_complete_; |
+ // Have we received OnRequestClosed()? If so, we shouldn't act on |
+ // CancelDownload()/ContinueDownload(). |
+ bool request_closed_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DownloadThrottlingResourceHandler); |
}; |