#include "extensions/browser/api/declarative_net_request/rule_counts.h"
#include "base/check_op.h"
namespace extensions::declarative_net_request {
RuleCounts::RuleCounts() = default;
RuleCounts::RuleCounts(size_t rule_count,
std::optional<size_t> unsafe_rule_count,
size_t regex_rule_count)
: … { … }
RuleCounts& RuleCounts::operator+=(const RuleCounts& that) { … }
RuleCounts operator+(const RuleCounts& lhs, const RuleCounts& rhs) { … }
bool operator==(const RuleCounts& lhs, const RuleCounts& rhs) { … }
}