// 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. #ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULE_COUNTS_H_ #define EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULE_COUNTS_H_ #include <cstddef> #include <optional> namespace extensions::declarative_net_request { // Represents the pair of total rule count and regex rule count for a ruleset. struct RuleCounts { … }; RuleCounts operator+(const RuleCounts& lhs, const RuleCounts& rhs); bool operator==(const RuleCounts& lhs, const RuleCounts& rhs); } // namespace extensions::declarative_net_request #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULE_COUNTS_H_