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

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: Created a non-inlined destructor for MockDownloadManager. 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
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 deaa40cab892041f377b671fbc8c3367e95846bc..a0335e21f59a45b469910d1fa25b65f54dc5eed7 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -386,8 +386,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();
}

Powered by Google App Engine
This is Rietveld 408576698