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

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

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with r147256 Created 8 years, 5 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_item_impl_delegate.h
diff --git a/content/browser/download/download_item_impl_delegate.h b/content/browser/download/download_item_impl_delegate.h
index b947af76c870a568636662185d5232a2ed4db875..00924542af695f38979e9cc883a9ed51519d9130 100644
--- a/content/browser/download/download_item_impl_delegate.h
+++ b/content/browser/download/download_item_impl_delegate.h
@@ -8,6 +8,7 @@
#include "base/file_path.h"
#include "content/common/content_export.h"
+class DownloadFileManager;
class DownloadItemImpl;
namespace content {
@@ -47,6 +48,9 @@ class CONTENT_EXPORT DownloadItemImplDelegate {
// For contextual issues like language and prefs.
virtual content::BrowserContext* GetBrowserContext() const;
+ // Get the DownloadFileManager to use for this download.
+ virtual DownloadFileManager* GetDownloadFileManager();
+
// Handle any delegate portions of a state change operation on the
// DownloadItem.
virtual void DownloadStopped(DownloadItemImpl* download);

Powered by Google App Engine
This is Rietveld 408576698