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

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

Issue 8770024: Added a download file factory to the download file manager, for testing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with trunk. Created 9 years 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/download_manager_unittest.cc
diff --git a/chrome/browser/download/download_manager_unittest.cc b/chrome/browser/download/download_manager_unittest.cc
index b99007e9bd0fd8b4d53c9e1ec71fffb78a3d667c..8fc960cd47e489a4df66cc3fe4fb6818403da416 100644
--- a/chrome/browser/download/download_manager_unittest.cc
+++ b/chrome/browser/download/download_manager_unittest.cc
@@ -149,7 +149,7 @@ class DownloadManagerTest : public testing::Test {
DownloadFileManager* file_manager() {
if (!file_manager_) {
- file_manager_ = new DownloadFileManager(NULL);
+ file_manager_ = new DownloadFileManager(NULL, NULL);
Randy Smith (Not in Mondays) 2011/12/05 22:25:38 You should either specify what happens when you pa
ahendrickson 2011/12/07 19:55:15 Did both! Using a NULL to indicate that the defau
download_manager_->SetFileManager(file_manager_);
}
return file_manager_;
« no previous file with comments | « no previous file | content/browser/download/download_file_manager.h » ('j') | content/browser/download/download_file_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698