chromium/components/url_pattern_index/url_rule_util.h

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_
#define COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_

#include <string>

namespace url_pattern_index {

namespace flat {
struct UrlRule;
}

// Prints a UrlRule in string form.
std::string FlatUrlRuleToFilterlistString(const flat::UrlRule* flat_rule);

}  // namespace url_pattern_index

#endif  // COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_