summaryrefslogtreecommitdiff
path: root/chromium/components/download/database/download_info.cc
blob: fec67b4048e30cd45db6f431b8b6bc31414c059d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/download/database/download_info.h"

namespace download {

DownloadInfo::DownloadInfo() = default;

DownloadInfo::DownloadInfo(const DownloadInfo& other) = default;

DownloadInfo::~DownloadInfo() = default;

bool DownloadInfo::operator==(const DownloadInfo& other) const {
  return guid == other.guid && id == other.id && ukm_info == other.ukm_info &&
         in_progress_info == other.in_progress_info;
}

}  // namespace download