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

Unified Diff: content/browser/download/download_file_manager.cc

Issue 8487002: Basic tests for DownloadUrl/DownloadUrlToFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed early setting of info->path to avoid assertion. 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/download/download_test_observer.cc ('k') | content/browser/download/download_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_manager.cc
diff --git a/content/browser/download/download_file_manager.cc b/content/browser/download/download_file_manager.cc
index 755e6e9698b6ff1d36d8a1aed60e13e31a1247cd..5700772b83729f1829ee1b088f4bbdaaf17ae6d0 100644
--- a/content/browser/download/download_file_manager.cc
+++ b/content/browser/download/download_file_manager.cc
@@ -135,9 +135,6 @@ void DownloadFileManager::StartDownload(
return;
}
- // TODO(phajdan.jr): fix the duplication of path info below.
- info->path = info->save_info.file_path;
ahendrickson 2011/11/08 06:19:58 The only effect I can see of removing this line is
-
manager->CreateDownloadItem(info, request_handle);
bool hash_needed = manager->delegate()->GenerateFileHash();
« no previous file with comments | « chrome/browser/download/download_test_observer.cc ('k') | content/browser/download/download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698