#include "components/subresource_filter/tools/ruleset_converter/ruleset_converter.h"
#include <fstream>
#include <iostream>
#include <string>
#include <string_view>
#include "base/check.h"
#include "base/files/file_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "components/subresource_filter/tools/ruleset_converter/rule_stream.h"
#include "components/subresource_filter/tools/ruleset_converter/ruleset_format.h"
namespace subresource_filter {
RulesetConverter::RulesetConverter() = default;
RulesetConverter::~RulesetConverter() = default;
bool RulesetConverter::Convert() { … }
bool RulesetConverter::SetInputFiles(
const base::CommandLine::StringType& comma_separated_paths) { … }
bool RulesetConverter::SetChromeVersion(const std::string& version) { … }
bool RulesetConverter::SetOutputFile(const base::FilePath& path) { … }
bool RulesetConverter::SetOutputFileUrl(const base::FilePath& path) { … }
bool RulesetConverter::SetOutputFileCss(const base::FilePath& path) { … }
bool RulesetConverter::SetInputFormat(const std::string& format) { … }
bool RulesetConverter::SetOutputFormat(const std::string& format) { … }
}