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

Unified Diff: chrome/browser/download/download_resource_throttle.cc

Issue 286543002: Cleanup CanDownload WebContentsDelegate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android build hopefully Created 6 years, 7 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: chrome/browser/download/download_resource_throttle.cc
diff --git a/chrome/browser/download/download_resource_throttle.cc b/chrome/browser/download/download_resource_throttle.cc
index c66e985c0711996f7104556c5b523c0e1ef16624..9d9ae92daf0efa8104b9dcb57dc8f80ab277d6bb 100644
--- a/chrome/browser/download/download_resource_throttle.cc
+++ b/chrome/browser/download/download_resource_throttle.cc
@@ -12,7 +12,7 @@ DownloadResourceThrottle::DownloadResourceThrottle(
DownloadRequestLimiter* limiter,
int render_process_id,
int render_view_id,
- int request_id,
+ const GURL& url,
const std::string& request_method)
: querying_limiter_(true),
request_allowed_(false),
@@ -20,7 +20,7 @@ DownloadResourceThrottle::DownloadResourceThrottle(
limiter->CanDownloadOnIOThread(
render_process_id,
render_view_id,
- request_id,
+ url,
request_method,
base::Bind(&DownloadResourceThrottle::ContinueDownload,
AsWeakPtr()));
« no previous file with comments | « chrome/browser/download/download_resource_throttle.h ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698