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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.cc

Issue 8351052: Created a DownloadManager interface, for use in unit tests.. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 9 years, 1 month 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/app_controller_mac.mm ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 3fec07e7020ead50e96076ac5894ddd46e259064..01d05695d348b7e5f2416b27d6c00154278f6817 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -405,8 +405,8 @@ void ChromeDownloadManagerDelegate::CheckVisitedReferrerBeforeDone(
// 1) using the default download directory.
// 2) prompting the user.
if (state.prompt_user_for_save_location &&
- !download_manager_->last_download_path().empty()) {
- state.suggested_path = download_manager_->last_download_path();
+ !download_manager_->LastDownloadPath().empty()) {
+ state.suggested_path = download_manager_->LastDownloadPath();
} else {
state.suggested_path = download_prefs_->download_path();
}
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698