commit | a53e2f91b2dff8f5f5a1c80f69881a7ad21d00e7 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 15 15:27:06 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 15 15:27:06 2012 |
tree | aa954ee72763177383f7835af86eaf37fef9571d | |
parent | fcbdeb7ddc579fac96844efc9540c27b2c770633 [diff] [blame] |
Add flag to specify if explicitly requested download is from web. This allows interposing the DownloadResourceThrottle on all web downloads, not just those occuring because of navigations. BUG=127522 [email protected] TEST=Retry example in referenced issue; look for throttling message. Review URL: https://chromiumcodereview.appspot.com/10381122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137137 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc index dc655bf..cf9ae3a 100644 --- a/content/browser/download/download_manager_impl.cc +++ b/content/browser/download/download_manager_impl.cc
@@ -83,6 +83,7 @@ } resource_dispatcher_host->BeginDownload( request.Pass(), + params->content_initiated(), params->resource_context(), params->render_process_host_id(), params->render_view_host_routing_id(),