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

Unified Diff: android_webview/browser/aw_download_manager_delegate.cc

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_download_manager_delegate.cc
diff --git a/android_webview/browser/aw_download_manager_delegate.cc b/android_webview/browser/aw_download_manager_delegate.cc
index e6e3f4f7a2716737db997d8e33ec1c07584d8f0d..b455bcaf8bb759cf20679e367b63543d33935584 100644
--- a/android_webview/browser/aw_download_manager_delegate.cc
+++ b/android_webview/browser/aw_download_manager_delegate.cc
@@ -20,8 +20,8 @@ bool AwDownloadManagerDelegate::DetermineDownloadTarget(
// could have already finished by the time DownloadStarting is called.
callback.Run(base::FilePath() /* Empty file path for cancel */,
content::DownloadItem::TARGET_DISPOSITION_OVERWRITE,
- content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS,
- base::FilePath());
+ content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, base::FilePath(),
+ content::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED);
return true;
}
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698