#include "components/download/public/background_service/download_metadata.h"
namespace {
bool AreResponseHeadersEqual(const net::HttpResponseHeaders* h1,
const net::HttpResponseHeaders* h2) { … }
}
namespace download {
CompletionInfo::CompletionInfo() = default;
CompletionInfo::CompletionInfo(
const base::FilePath& path,
uint64_t bytes_downloaded,
const std::vector<GURL>& url_chain,
scoped_refptr<const net::HttpResponseHeaders> response_headers)
: … { … }
CompletionInfo::CompletionInfo(const base::FilePath& path,
uint64_t bytes_downloaded)
: … { … }
CompletionInfo::CompletionInfo(const CompletionInfo& other) = default;
CompletionInfo::~CompletionInfo() = default;
bool CompletionInfo::operator==(const CompletionInfo& other) const { … }
DownloadMetaData::DownloadMetaData() : … { … }
DownloadMetaData::DownloadMetaData(const DownloadMetaData& other) = default;
bool DownloadMetaData::operator==(const DownloadMetaData& other) const { … }
DownloadMetaData::~DownloadMetaData() = default;
}