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

Unified Diff: content/browser/download/download_manager_impl.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/browser/download/download_manager_impl.cc
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index f6d16f79cb552d6a96d858960d26b0165fdeb49c..04eaee07e05ca6a0dca7811cfff19ef2b4df148d 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -186,6 +186,10 @@ DownloadId DownloadManagerImpl::GetNextId() {
return delegate_->GetNextId();
}
+bool DownloadManagerImpl::ShouldOpenWithWebIntent(DownloadItem* item) {
+ return delegate_->ShouldOpenWithWebIntent(item);
+}
+
bool DownloadManagerImpl::ShouldOpenDownload(DownloadItem* item) {
return delegate_->ShouldOpenDownload(item);
}

Powered by Google App Engine
This is Rietveld 408576698