#include "components/url_pattern_index/url_rule_util.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "components/url_pattern_index/flat/url_pattern_index_generated.h"
namespace url_pattern_index {
namespace {
std::string AnchorToString(url_pattern_index::flat::AnchorType anchor_type) { … }
class OptionsPrinter { … };
std::string PartyOptionsToString(
OptionsPrinter* options_printer,
const url_pattern_index::flat::UrlRule* flat_rule) { … }
std::string TypeOptionsToString(
OptionsPrinter* options_printer,
const url_pattern_index::flat::UrlRule* flat_rule) { … }
std::string ConvertFlatString(const flatbuffers::String* string) { … }
std::string DomainOptionsToString(
OptionsPrinter* options_printer,
const url_pattern_index::flat::UrlRule* flat_rule) { … }
}
std::string FlatUrlRuleToFilterlistString(const flat::UrlRule* flat_rule) { … }
}