download_info.cc 619 B

1234567891011121314151617181920
  1. // Copyright 2018 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. #include "components/download/database/download_info.h"
  5. namespace download {
  6. DownloadInfo::DownloadInfo() = default;
  7. DownloadInfo::DownloadInfo(const DownloadInfo& other) = default;
  8. DownloadInfo::~DownloadInfo() = default;
  9. bool DownloadInfo::operator==(const DownloadInfo& other) const {
  10. return guid == other.guid && id == other.id && ukm_info == other.ukm_info &&
  11. in_progress_info == other.in_progress_info;
  12. }
  13. } // namespace download