chromium/net/extras/shared_dictionary/shared_dictionary_info.cc

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

#include "net/extras/shared_dictionary/shared_dictionary_info.h"

namespace net {

SharedDictionaryInfo::SharedDictionaryInfo(
    const GURL& url,
    base::Time last_fetch_time,
    base::Time response_time,
    base::TimeDelta expiration,
    const std::string& match,
    const std::string& match_dest_string,
    const std::string& id,
    base::Time last_used_time,
    size_t size,
    const net::SHA256HashValue& hash,
    const base::UnguessableToken& disk_cache_key_token,
    const std::optional<int64_t>& primary_key_in_database)
    :{}

SharedDictionaryInfo::SharedDictionaryInfo(const SharedDictionaryInfo&) =
    default;
SharedDictionaryInfo& SharedDictionaryInfo::operator=(
    const SharedDictionaryInfo&) = default;

SharedDictionaryInfo::SharedDictionaryInfo(SharedDictionaryInfo&&) = default;
SharedDictionaryInfo& SharedDictionaryInfo::operator=(SharedDictionaryInfo&&) =
    default;

SharedDictionaryInfo::~SharedDictionaryInfo() = default;

bool SharedDictionaryInfo::operator==(const SharedDictionaryInfo& other) const =
    default;

base::Time SharedDictionaryInfo::GetExpirationTime() const {}

}  // namespace net