#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/i18n/icu_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "components/url_formatter/spoof_checks/top_domains/top_domain_state_generator.h"
#include "components/url_formatter/spoof_checks/top_domains/trie_entry.h"
#include "url/gurl.h"
TopDomainEntries;
TopDomainEntry;
TopDomainStateGenerator;
namespace {
const char* kTopBucketSeparator = …;
void PrintHelp() { … }
void CheckName(const std::string& name) { … }
std::unique_ptr<TopDomainEntry> MakeEntry(
const std::string& hostname,
const std::string& skeleton,
url_formatter::SkeletonType skeleton_type,
bool is_top_bucket,
std::set<std::string>* all_skeletons) { … }
}
int main(int argc, char* argv[]) { … }