| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/download/mock_download_item_impl.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 MockDownloadItemImpl::MockDownloadItemImpl(DownloadItemImplDelegate* delegate) |
| 10 : DownloadItemImpl(delegate, |
| 11 std::string("7d122682-55b5-4a47-a253-36cadc3e5bee"), |
| 12 content::DownloadItem::kInvalidId, |
| 13 base::FilePath(), |
| 14 base::FilePath(), |
| 15 std::vector<GURL>(), |
| 16 GURL(), |
| 17 GURL(), |
| 18 GURL(), |
| 19 GURL(), |
| 20 "application/octet-stream", |
| 21 "application/octet-stream", |
| 22 base::Time(), |
| 23 base::Time(), |
| 24 std::string(), |
| 25 std::string(), |
| 26 0, |
| 27 0, |
| 28 std::string(), |
| 29 DownloadItem::COMPLETE, |
| 30 DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, |
| 31 DOWNLOAD_INTERRUPT_REASON_NONE, |
| 32 false, |
| 33 std::vector<DownloadItem::ReceivedSlice>(), |
| 34 net::NetLogWithSource()) {} |
| 35 |
| 36 MockDownloadItemImpl::~MockDownloadItemImpl() = default; |
| 37 |
| 38 } // namespace content |
| OLD | NEW |