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

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: @r202870 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
« no previous file with comments | « chrome/browser/download/download_prefs.cc ('k') | chrome/browser/download/download_target_determiner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dcb0d1e4f0c9bde19d2aa9282d0fc6bad73fc0f8..fcfbab035dfc9288fa4050762699ad812418405c 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);
@@ -120,7 +115,6 @@ class DownloadTargetDeterminer
DownloadTargetDeterminer(
content::DownloadItem* download,
DownloadPrefs* download_prefs,
- const base::FilePath& last_selected_directory,
DownloadTargetDeterminerDelegate* delegate,
const content::DownloadTargetCallback& callback);
@@ -244,7 +238,6 @@ class DownloadTargetDeterminer
content::DownloadItem* download_;
DownloadPrefs* download_prefs_;
DownloadTargetDeterminerDelegate* delegate_;
- base::FilePath last_selected_directory_;
content::DownloadTargetCallback completion_callback_;
CancelableRequestConsumer history_consumer_;
« no previous file with comments | « chrome/browser/download/download_prefs.cc ('k') | chrome/browser/download/download_target_determiner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698