chromium/components/download/internal/background_service/test/entry_utils.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/download/internal/background_service/test/entry_utils.h"
#include "base/memory/values_equivalent.h"
#include "base/ranges/algorithm.h"
#include "base/uuid.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"

namespace download {
namespace test {

bool CompareEntry(const Entry* const& expected, const Entry* const& actual) {}

bool CompareEntryList(const std::vector<Entry*>& expected,
                      const std::vector<Entry*>& actual) {}

bool CompareEntryList(const std::vector<Entry>& list1,
                      const std::vector<Entry>& list2) {}

bool CompareEntryUsingGuidOnly(const Entry* const& expected,
                               const Entry* const& actual) {}

bool CompareEntryListUsingGuidOnly(const std::vector<Entry*>& expected,
                                   const std::vector<Entry*>& actual) {}

Entry BuildBasicEntry() {}

Entry BuildBasicEntry(Entry::State state) {}

Entry BuildEntry(DownloadClient client, const std::string& guid) {}

Entry BuildEntry(DownloadClient client,
                 const std::string& guid,
                 base::Time cancel_time,
                 SchedulingParams::NetworkRequirements network_requirements,
                 SchedulingParams::BatteryRequirements battery_requirements,
                 SchedulingParams::Priority priority,
                 const GURL& url,
                 const std::string& request_method,
                 Entry::State state,
                 const base::FilePath& target_file_path,
                 base::Time create_time,
                 base::Time completion_time,
                 base::Time last_cleanup_check_time,
                 uint64_t bytes_downloaded,
                 int attempt_count,
                 int resumption_count) {}

}  // namespace test
}  // namespace download