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

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

Issue 12662032: Merge SavePackageFilePicker{,ChromeOS} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r198452 Created 7 years, 7 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/download_target_determiner.h
diff --git a/chrome/browser/download/download_target_determiner.h b/chrome/browser/download/download_target_determiner.h
index 6032e42ed2e60589c26fe9c519a499ea87386476..c1ba4e66c767474896076d760105b81c1aafa593 100644
--- a/chrome/browser/download/download_target_determiner.h
+++ b/chrome/browser/download/download_target_determiner.h
@@ -55,10 +55,6 @@ class DownloadTargetDeterminer
// |download_prefs| is required and must outlive |download|. It is used for
// determining the user's preferences regarding the default downloads
// directory, prompting and auto-open behavior.
- // |last_selected_directory| is the most recent directory that was chosen by
- // the user. If the user needs to be prompted, then this directory will be
- // used as the directory for the download instead of the user's default
- // downloads directory.
// |delegate| is required and must live until |callback| is invoked.
// |callback| will be scheduled asynchronously on the UI thread after download
// determination is complete or after |download| is destroyed.
@@ -66,7 +62,6 @@ class DownloadTargetDeterminer
// Start() should be called on the UI thread.
static void Start(content::DownloadItem* download,
DownloadPrefs* download_prefs,
- const base::FilePath& last_selected_directory,
DownloadTargetDeterminerDelegate* delegate,
const content::DownloadTargetCallback& callback);
@@ -117,7 +112,6 @@ class DownloadTargetDeterminer
DownloadTargetDeterminer(
content::DownloadItem* download,
DownloadPrefs* download_prefs,
- const base::FilePath& last_selected_directory,
DownloadTargetDeterminerDelegate* delegate,
const content::DownloadTargetCallback& callback);
@@ -241,7 +235,6 @@ class DownloadTargetDeterminer
content::DownloadItem* download_;
DownloadPrefs* download_prefs_;
DownloadTargetDeterminerDelegate* delegate_;
- base::FilePath last_selected_directory_;
content::DownloadTargetCallback completion_callback_;
CancelableRequestConsumer history_consumer_;

Powered by Google App Engine
This is Rietveld 408576698