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

Unified Diff: content/shell/shell_download_manager_delegate.h

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a callback with DetermineDownloadTarget(). 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/shell/shell_download_manager_delegate.h
diff --git a/content/shell/shell_download_manager_delegate.h b/content/shell/shell_download_manager_delegate.h
index ee362bac74a56bb3c980648a50c99d337e735aa4..1e37b1b32d1be14d9b5e93f6d6417d6d5ca285aa 100644
--- a/content/shell/shell_download_manager_delegate.h
+++ b/content/shell/shell_download_manager_delegate.h
@@ -23,7 +23,6 @@ class ShellDownloadManagerDelegate
void SetDownloadManager(DownloadManager* manager);
virtual bool ShouldStartDownload(int32 download_id) OVERRIDE;
- virtual void ChooseDownloadPath(DownloadItem* item) OVERRIDE;
private:
friend class base::RefCountedThreadSafe<ShellDownloadManagerDelegate>;
@@ -34,6 +33,8 @@ class ShellDownloadManagerDelegate
const FilePath& generated_name);
void RestartDownload(int32 download_id,
const FilePath& suggested_path);
+ void ChooseDownloadPath(DownloadItem* item,
+ const FilePath& suggested_path);
DownloadManager* download_manager_;

Powered by Google App Engine
This is Rietveld 408576698