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

Unified Diff: content/public/browser/download_manager_delegate.cc

Issue 9651020: Pass content-type resources to web intents. Goes through download, then invokes the p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move dispatch logic client-side. Created 8 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
Index: content/public/browser/download_manager_delegate.cc
diff --git a/content/public/browser/download_manager_delegate.cc b/content/public/browser/download_manager_delegate.cc
index 6abc0ad957e1b0e2748e640128e55e84a3fd16a9..9508c73f58a2f38e6e3dfde3451caa3f08ad71fa 100644
--- a/content/public/browser/download_manager_delegate.cc
+++ b/content/public/browser/download_manager_delegate.cc
@@ -35,6 +35,10 @@ bool DownloadManagerDelegate::ShouldCompleteDownload(DownloadItem* item) {
return true;
}
+bool DownloadManagerDelegate::ShouldOpenWithWebIntent(DownloadItem* item) {
+ return false;
+}
+
bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698