Index: content/browser/download/download_file_manager_unittest.cc |
diff --git a/content/browser/download/download_file_manager_unittest.cc b/content/browser/download/download_file_manager_unittest.cc |
index bdbad04107582d166cdfc975e6879686550b337f..f14c0387669039e5dc8a0b625a2135646a3911be 100644 |
--- a/content/browser/download/download_file_manager_unittest.cc |
+++ b/content/browser/download/download_file_manager_unittest.cc |
@@ -44,7 +44,8 @@ class MockDownloadFileFactory : |
DownloadCreateInfo* info, |
const DownloadRequestHandle& request_handle, |
content::DownloadManager* download_manager, |
- bool calculate_hash) OVERRIDE; |
+ bool calculate_hash, |
+ const net::BoundNetLog& bound_net_log) OVERRIDE; |
MockDownloadFile* GetExistingFile(const DownloadId& id); |
@@ -56,7 +57,8 @@ content::DownloadFile* MockDownloadFileFactory::CreateFile( |
DownloadCreateInfo* info, |
const DownloadRequestHandle& request_handle, |
content::DownloadManager* download_manager, |
- bool calculate_hash) { |
+ bool calculate_hash, |
+ const net::BoundNetLog& bound_net_log) { |
DCHECK(files_.end() == files_.find(info->download_id)); |
MockDownloadFile* created_file = new MockDownloadFile(); |
files_[info->download_id] = created_file; |
@@ -167,7 +169,8 @@ class DownloadFileManagerTest : public testing::Test { |
// Set expectations and return values. |
EXPECT_CALL(*download_manager_, CreateDownloadItem(info, _)) |
- .Times(1); |
+ .Times(1) |
+ .WillOnce(Return(net::BoundNetLog())); |
EXPECT_CALL(*download_manager_, GenerateFileHash()) |
.Times(AtLeast(1)) |
.WillRepeatedly(Return(false)); |