summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 07:24:12 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 07:24:12 +0000
commit905a08d1f74eced28716bb082e8f0bc08e2136e1 (patch)
treef64607304183aa7337f9ed3e629e526eba89e818 /chrome/browser/browsing_data_remover.cc
parent85c1d8296cfe9e184bc2890e169bd2f770fb5c63 (diff)
downloadchromium_src-905a08d1f74eced28716bb082e8f0bc08e2136e1.zip
chromium_src-905a08d1f74eced28716bb082e8f0bc08e2136e1.tar.gz
chromium_src-905a08d1f74eced28716bb082e8f0bc08e2136e1.tar.bz2
Change by Alex Mendes da Costa <alexmdac@google.com>
Use the most recently used download path when displaying a "save as" dialog. Reset the download path when the user clears the download history. BUG=293 (http://code.google.com/p/chromium/issues/detail?id=293) Review URL: http://codereview.chromium.org/10743 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index cfb5f9c..41aa9ae 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -90,6 +90,7 @@ void BrowsingDataRemover::Remove(int remove_mask) {
UserMetrics::RecordAction(L"ClearBrowsingData_Downloads", profile_);
DownloadManager* download_manager = profile_->GetDownloadManager();
download_manager->RemoveDownloadsBetween(delete_begin_, delete_end_);
+ download_manager->ClearLastDownloadPath();
}
if (remove_mask & REMOVE_COOKIES) {