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

Side by Side Diff: content/browser/download/mock_download_item_impl.cc

Issue 2689373003: Introduce ParallelDownloadJob. (Closed)
Patch Set: nits. Created 3 years, 9 months 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « content/browser/download/mock_download_item_impl.h ('k') | content/browser/download/mock_download_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698