// 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_SUBRESOURCE_FILTER_TOOLS_FILTER_TOOL_H_ #define COMPONENTS_SUBRESOURCE_FILTER_TOOLS_FILTER_TOOL_H_ #include <istream> #include <ostream> #include <string> #include <string_view> #include "base/memory/scoped_refptr.h" #include "components/subresource_filter/core/common/memory_mapped_ruleset.h" namespace url_pattern_index { namespace flat { struct UrlRule; } } // namespace url_pattern_index namespace subresource_filter { // FilterTool provides utility functions for matching a given ruleset against // requests and writes the results to an output stream. class FilterTool { … }; } // namespace subresource_filter #endif // COMPONENTS_SUBRESOURCE_FILTER_TOOLS_FILTER_TOOL_H_