Josh Karlin | 94338e5 | 2018-01-29 21:18:58 | [diff] [blame] | 1 | // 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 | |
| 10 | namespace url_pattern_index { |
| 11 | |
| 12 | namespace flat { |
| 13 | struct UrlRule; |
| 14 | } |
| 15 | |
| 16 | // Prints a UrlRule in string form. |
Karan Bhatia | 7980135 | 2018-05-22 05:46:58 | [diff] [blame] | 17 | std::string FlatUrlRuleToFilterlistString(const flat::UrlRule* flat_rule); |
Josh Karlin | 94338e5 | 2018-01-29 21:18:58 | [diff] [blame] | 18 | |
| 19 | } // namespace url_pattern_index |
| 20 | |
| 21 | #endif // COMPONENTS_URL_PATTERN_INDEX_URL_RULE_UTIL_H_ |