Index: chrome/browser/download/download_resource_throttle.h |
diff --git a/chrome/browser/download/download_resource_throttle.h b/chrome/browser/download/download_resource_throttle.h |
index 4c1940f9ede18a0d7dc02d210763adff4a8053d6..45d7ab501f8b1fa4f6bcadaf32af02c05258eb74 100644 |
--- a/chrome/browser/download/download_resource_throttle.h |
+++ b/chrome/browser/download/download_resource_throttle.h |
@@ -22,7 +22,7 @@ class DownloadResourceThrottle |
: public content::ResourceThrottle, |
public base::SupportsWeakPtr<DownloadResourceThrottle> { |
public: |
- DownloadResourceThrottle(DownloadRequestLimiter* limiter, |
+ DownloadResourceThrottle(scoped_refptr<DownloadRequestLimiter> limiter, |
int render_process_id, |
int render_view_id, |
const GURL& url, |
@@ -38,6 +38,13 @@ class DownloadResourceThrottle |
private: |
~DownloadResourceThrottle() override; |
+ void FileAccessPermissionGranted( |
+ scoped_refptr<DownloadRequestLimiter> limiter, |
+ int render_process_id, |
+ int render_view_id, |
+ const GURL& url, |
+ const std::string& request_method, |
+ bool granted); |
void WillDownload(bool* defer); |
void ContinueDownload(bool allow); |