| Index: chrome/browser/android/intercept_download_resource_throttle.cc
|
| diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
|
| index 4f5662fa13f0afc3063a4d1087bd63476739a4bd..30fd0a118f346f7833ec01595fd639fb5622d601 100644
|
| --- a/chrome/browser/android/intercept_download_resource_throttle.cc
|
| +++ b/chrome/browser/android/intercept_download_resource_throttle.cc
|
| @@ -52,11 +52,13 @@ InterceptDownloadResourceThrottle::InterceptDownloadResourceThrottle(
|
| net::URLRequest* request,
|
| int render_process_id,
|
| int render_view_id,
|
| - int request_id)
|
| + int request_id,
|
| + bool must_download)
|
| : request_(request),
|
| render_process_id_(render_process_id),
|
| render_view_id_(render_view_id),
|
| - request_id_(request_id) {
|
| + request_id_(request_id),
|
| + must_download_(must_download) {
|
| }
|
|
|
| InterceptDownloadResourceThrottle::~InterceptDownloadResourceThrottle() {
|
| @@ -119,7 +121,7 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
|
| }
|
|
|
| content::DownloadControllerAndroid::Get()->CreateGETDownload(
|
| - render_process_id_, render_view_id_, request_id_);
|
| + render_process_id_, render_view_id_, request_id_, must_download_);
|
| controller()->Cancel();
|
| RecordInterceptFailureReasons(NO_FAILURE);
|
| }
|
|
|