#include "net/cookies/cookie_deletion_info.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "net/cookies/canonical_cookie.h"
#include "net/cookies/cookie_options.h"
namespace net {
namespace {
bool DomainMatchesDomains(const net::CanonicalCookie& cookie,
const std::set<std::string>& match_domains) { … }
}
CookieDeletionInfo::TimeRange::TimeRange() = default;
CookieDeletionInfo::TimeRange::TimeRange(const TimeRange& other) = default;
CookieDeletionInfo::TimeRange::TimeRange(base::Time start, base::Time end)
: … { … }
CookieDeletionInfo::TimeRange& CookieDeletionInfo::TimeRange::operator=(
const TimeRange& rhs) = default;
bool CookieDeletionInfo::TimeRange::Contains(const base::Time& time) const { … }
void CookieDeletionInfo::TimeRange::SetStart(base::Time value) { … }
void CookieDeletionInfo::TimeRange::SetEnd(base::Time value) { … }
CookieDeletionInfo::CookieDeletionInfo()
: … { … }
CookieDeletionInfo::CookieDeletionInfo(base::Time start_time,
base::Time end_time)
: … { … }
CookieDeletionInfo::CookieDeletionInfo(CookieDeletionInfo&& other) = default;
CookieDeletionInfo::CookieDeletionInfo(const CookieDeletionInfo& other) =
default;
CookieDeletionInfo::~CookieDeletionInfo() = default;
CookieDeletionInfo& CookieDeletionInfo::operator=(CookieDeletionInfo&& rhs) =
default;
CookieDeletionInfo& CookieDeletionInfo::operator=(
const CookieDeletionInfo& rhs) = default;
bool CookieDeletionInfo::Matches(const CanonicalCookie& cookie,
const CookieAccessParams& params) const { … }
}