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

Side by Side Diff: components/download/public/download_params.cc

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: Renamed test base class Created 3 years, 7 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
« no previous file with comments | « components/download/public/download_params.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "components/download/public/download_params.h" 5 #include "components/download/public/download_params.h"
6 6
7 #include "components/download/public/clients.h" 7 #include "components/download/public/clients.h"
8 8
9 namespace download { 9 namespace download {
10 10
11 SchedulingParams::SchedulingParams() 11 SchedulingParams::SchedulingParams()
12 : priority(Priority::DEFAULT), 12 : priority(Priority::DEFAULT),
13 network_requirements(NetworkRequirements::NONE), 13 network_requirements(NetworkRequirements::NONE),
14 battery_requirements(BatteryRequirements::BATTERY_INSENSITIVE) {} 14 battery_requirements(BatteryRequirements::BATTERY_INSENSITIVE) {}
15 15
16 RequestParams::RequestParams() : method("GET") {} 16 RequestParams::RequestParams() : method("GET") {}
17 17
18 DownloadParams::DownloadParams() 18 DownloadParams::DownloadParams() : client(DownloadClient::INVALID) {}
19 : client(DownloadClient::DOWNLOAD_CLIENT_INVALID) {}
20 19
21 DownloadParams::DownloadParams(const DownloadParams& other) = default; 20 DownloadParams::DownloadParams(const DownloadParams& other) = default;
22 21
23 DownloadParams::~DownloadParams() = default; 22 DownloadParams::~DownloadParams() = default;
24 23
25 } // namespace download 24 } // namespace download
OLDNEW
« no previous file with comments | « components/download/public/download_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698