#include "extensions/common/permissions/permission_message_util.h"
#include <stddef.h>
#include <vector>
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "components/url_formatter/elide_url.h"
#include "extensions/common/url_pattern_set.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "url/gurl.h"
#include "url/url_constants.h"
URLPatternSet;
namespace {
bool RcdBetterThan(const std::string& a, const std::string& b) { … }
}
namespace permission_message_util {
std::set<std::string> GetDistinctHosts(const URLPatternSet& host_patterns,
bool include_rcd,
bool exclude_file_scheme) { … }
}