blob: 5e0ff91e8e1282989794964f2744572521d12a2a [file] [log] [blame]
Josh Karlin94338e52018-01-29 21:18:581// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_
6#define COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_
7
8#include <string>
9
10namespace url_pattern_index {
11
12namespace flat {
13struct UrlRule;
14}
15
16// Prints a UrlRule in string form.
Karan Bhatia79801352018-05-22 05:46:5817std::string FlatUrlRuleToFilterlistString(const flat::UrlRule* flat_rule);
Josh Karlin94338e52018-01-29 21:18:5818
19} // namespace url_pattern_index
20
21#endif // COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_