| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/download/mock_download_item_impl.h" | 5 #include "content/browser/download/mock_download_item_impl.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 MockDownloadItemImpl::MockDownloadItemImpl(DownloadItemImplDelegate* delegate) | 9 MockDownloadItemImpl::MockDownloadItemImpl(DownloadItemImplDelegate* delegate) |
| 10 : DownloadItemImpl(delegate, | 10 : DownloadItemImpl(delegate, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 base::Time(), | 23 base::Time(), |
| 24 std::string(), | 24 std::string(), |
| 25 std::string(), | 25 std::string(), |
| 26 0, | 26 0, |
| 27 0, | 27 0, |
| 28 std::string(), | 28 std::string(), |
| 29 DownloadItem::COMPLETE, | 29 DownloadItem::COMPLETE, |
| 30 DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, | 30 DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, |
| 31 DOWNLOAD_INTERRUPT_REASON_NONE, | 31 DOWNLOAD_INTERRUPT_REASON_NONE, |
| 32 false, | 32 false, |
| 33 base::Time(), |
| 33 std::vector<DownloadItem::ReceivedSlice>(), | 34 std::vector<DownloadItem::ReceivedSlice>(), |
| 34 net::NetLogWithSource()) {} | 35 net::NetLogWithSource()) {} |
| 35 | 36 |
| 36 MockDownloadItemImpl::~MockDownloadItemImpl() = default; | 37 MockDownloadItemImpl::~MockDownloadItemImpl() = default; |
| 37 | 38 |
| 38 } // namespace content | 39 } // namespace content |
| OLD | NEW |