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

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

Issue 13859009: Adding a call to support download initiated context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 7 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
« no previous file with comments | « no previous file | content/browser/android/download_controller_android_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_ui_controller.cc
diff --git a/chrome/browser/download/download_ui_controller.cc b/chrome/browser/download/download_ui_controller.cc
index 20dad7d0e9f5ed7d083f0f5e92a6f04d3e5db090..5e862cded2f73b2968bec58e0d38ca34737d7bb8 100644
--- a/chrome/browser/download/download_ui_controller.cc
+++ b/chrome/browser/download/download_ui_controller.cc
@@ -39,10 +39,10 @@ class DefaultUIControllerDelegateAndroid
void DefaultUIControllerDelegateAndroid::NotifyDownloadStarting(
content::DownloadItem* item) {
- // GET downloads are delegated to the Android DownloadManager. Chrome is only
- // responsible for POST downloads. See
- // ChromeWebContentsDelegateAndroid::CanDownload().
- content::DownloadControllerAndroid::Get()->OnPostDownloadStarted(item);
+ // GET downloads without authentication are delegated to the Android
+ // DownloadManager. Chrome is responsible for the rest. See
+ // InterceptDownloadResourceThrottle::ProcessDownloadRequest().
+ content::DownloadControllerAndroid::Get()->OnDownloadStarted(item);
}
#else // OS_ANDROID
« no previous file with comments | « no previous file | content/browser/android/download_controller_android_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698