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

Unified Diff: content/browser/download/download_manager_impl.h

Issue 11640007: Make the UI an observer of downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android clang build Created 7 years, 10 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.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index ebd58f8281f1acb894705d7ab58d026f3cb87f2b..5b9cdb4343ba9ba477bb48a2078408aea34d9a51 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -28,6 +28,7 @@ namespace content {
class DownloadFileFactory;
class DownloadItemFactory;
class DownloadItemImpl;
+class DownloadRequestHandleInterface;
class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
private DownloadItemImplDelegate {
@@ -45,6 +46,7 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
const base::FilePath& main_file_path,
const GURL& page_url,
const std::string& mime_type,
+ scoped_ptr<DownloadRequestHandleInterface> request_handle,
DownloadItem::Observer* observer);
// Notifies DownloadManager about a successful completion of |download_item|.
@@ -140,7 +142,6 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
virtual void OpenDownload(DownloadItemImpl* download) OVERRIDE;
virtual void ShowDownloadInShell(DownloadItemImpl* download) OVERRIDE;
virtual void DownloadRemoved(DownloadItemImpl* download) OVERRIDE;
- virtual void ShowDownloadInBrowser(DownloadItemImpl* download) OVERRIDE;
// Factory for creation of downloads items.
scoped_ptr<DownloadItemFactory> item_factory_;
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698