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

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

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Removed accidental rename 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
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 "components/download/public/download_params.h"
6
7 #include "components/download/public/clients.h"
8
9 namespace download {
10
11 SchedulingParams::SchedulingParams()
12 : priority(DEFAULT),
13 network_requirements(NONE),
14 battery_requirements(BATTERY_INSENSITIVE) {}
15
16 RequestParams::RequestParams() : method("GET") {}
17
18 DownloadParams::DownloadParams() : client(INVALID) {}
19
20 DownloadParams::~DownloadParams() = default;
21
22 } // namespace download
OLDNEW
« components/download/public/download_params.h ('K') | « components/download/public/download_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698