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

Unified Diff: content/browser/android/download_controller_android_impl.h

Issue 1854523002: If a download is initiated by download attribute, don't use stream viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: content/browser/android/download_controller_android_impl.h
diff --git a/content/browser/android/download_controller_android_impl.h b/content/browser/android/download_controller_android_impl.h
index 78d6544f942536cb1fddb397e84ce4be81f4889a..157f306300dbf89d54eb9aea94c47ef4c61e7ece 100644
--- a/content/browser/android/download_controller_android_impl.h
+++ b/content/browser/android/download_controller_android_impl.h
@@ -95,7 +95,8 @@ class DownloadControllerAndroidImpl : public DownloadControllerAndroid {
// DownloadControllerAndroid implementation.
void CreateGETDownload(int render_process_id,
int render_view_id,
- int request_id) override;
+ int request_id,
+ bool must_download) override;
void OnDownloadStarted(DownloadItem* download_item) override;
void StartContextMenuDownload(const ContextMenuParams& params,
WebContents* web_contents,
@@ -126,9 +127,11 @@ class DownloadControllerAndroidImpl : public DownloadControllerAndroid {
const DownloadInfoAndroid& info);
void StartAndroidDownload(int render_process_id,
int render_view_id,
+ bool must_download,
const DownloadInfoAndroid& info);
void StartAndroidDownloadInternal(int render_process_id,
int render_view_id,
+ bool must_download,
const DownloadInfoAndroid& info,
bool allowed);

Powered by Google App Engine
This is Rietveld 408576698