Home
last modified time | relevance | path

Searched refs:WarningReason (Results 1 – 4 of 4) sorted by relevance

/external/cronet/net/cookies/
Dcookie_inclusion_status.cc22 WarningReason warning) { in CookieInclusionStatus()
27 CookieInclusionStatus::CookieInclusionStatus(WarningReason warning) { in CookieInclusionStatus()
120 bool CookieInclusionStatus::HasWarningReason(WarningReason reason) const { in HasWarningReason()
125 CookieInclusionStatus::WarningReason* reason) const { in HasSchemefulDowngradeWarning()
129 const CookieInclusionStatus::WarningReason kDowngradeWarnings[] = { in HasSchemefulDowngradeWarning()
150 void CookieInclusionStatus::AddWarningReason(WarningReason reason) { in AddWarningReason()
154 void CookieInclusionStatus::RemoveWarningReason(WarningReason reason) { in RemoveWarningReason()
164 WarningReason reason = WarningReason::NUM_WARNING_REASONS; in GetBreakingDowngradeMetricsEnumValue()
171 case WarningReason::WARN_STRICT_LAX_DOWNGRADE_STRICT_SAMESITE: in GetBreakingDowngradeMetricsEnumValue()
175 case WarningReason::WARN_STRICT_CROSS_DOWNGRADE_STRICT_SAMESITE: in GetBreakingDowngradeMetricsEnumValue()
[all …]
Dcookie_inclusion_status.h113 enum WarningReason { enum
252 using WarningReasonBitset = std::bitset<WarningReason::NUM_WARNING_REASONS>;
260 CookieInclusionStatus(ExclusionReason reason, WarningReason warning);
262 explicit CookieInclusionStatus(WarningReason warning);
304 bool HasWarningReason(WarningReason reason) const;
313 CookieInclusionStatus::WarningReason* reason = nullptr) const;
316 void AddWarningReason(WarningReason reason);
319 void RemoveWarningReason(WarningReason reason);
346 std::vector<WarningReason> reasons) const;
357 std::vector<WarningReason> warnings = std::vector<WarningReason>());
Dcookie_inclusion_status_unittest.cc25 static_cast<CookieInclusionStatus::WarningReason>(i))); in TEST()
91 auto reason = static_cast<CookieInclusionStatus::WarningReason>(i); in TEST()
100 static_cast<CookieInclusionStatus::WarningReason>(j))); in TEST()
149 std::vector<CookieInclusionStatus::WarningReason> downgrade_warnings = { in TEST()
168 CookieInclusionStatus::WarningReason reason; in TEST()
DREADME.md272 statuses (`CookieInclusionStatus::WarningReason`) typically used to emit