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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.h

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: Add ability to send unserialized intent data from browser process. 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: chrome/browser/download/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index 93f6721ca74d4a61aa455f7f1c7050d9df011926..78477fab00e4cc6542c5ce8b5872f8663b0f42da 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -51,6 +51,9 @@ class ChromeDownloadManagerDelegate
// Returns true if the given item is for an extension download.
static bool IsExtensionDownload(const content::DownloadItem* item);
+ // Returns true if the given item should be handled by web intents.
+ static bool ShouldWebIntentsHandle(const content::DownloadItem& item);
+
virtual void Shutdown() OVERRIDE;
virtual content::DownloadId GetNextId() OVERRIDE;
virtual bool ShouldStartDownload(int32 download_id) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698