diff options
Diffstat (limited to 'chrome/browser/download/chrome_download_manager_delegate.h')
-rw-r--r-- | chrome/browser/download/chrome_download_manager_delegate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h index 93f6721..e5ee17d 100644 --- a/chrome/browser/download/chrome_download_manager_delegate.h +++ b/chrome/browser/download/chrome_download_manager_delegate.h @@ -146,6 +146,13 @@ class ChromeDownloadManagerDelegate // Callback from history system. void OnItemAddedToPersistentStore(int32 download_id, int64 db_handle); + // Check policy of whether we should open this download with a web intents + // dispatch. + bool ShouldOpenWithWebIntents(const content::DownloadItem* item); + + // Open the given item with a web intent dispatch. + void OpenWithWebIntent(const content::DownloadItem* item); + Profile* profile_; int next_download_id_; scoped_ptr<DownloadPrefs> download_prefs_; |