| 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 "components/download/internal/entry.h" | 5 #include "components/download/internal/entry.h" |
| 6 | 6 |
| 7 namespace download { | 7 namespace download { |
| 8 | 8 |
| 9 Entry::Entry() = default; | 9 Entry::Entry() = default; |
| 10 Entry::Entry(const Entry& other) = default; | 10 Entry::Entry(const Entry& other) = default; |
| 11 |
| 12 Entry::Entry(const DownloadParams& params) |
| 13 : client(params.client), |
| 14 guid(params.guid), |
| 15 scheduling_params(params.scheduling_params), |
| 16 request_params(params.request_params) {} |
| 17 |
| 11 Entry::~Entry() = default; | 18 Entry::~Entry() = default; |
| 12 | 19 |
| 13 } // namespace download | 20 } // namespace download |
| OLD | NEW |