#ifndef EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_
#define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_
#include <set>
#include <string>
namespace extensions {
class PermissionMessage;
class PermissionSet;
class URLPatternSet;
}
namespace permission_message_util {
extensions::PermissionMessage CreateFromHostList(
const std::set<std::string>& hosts);
std::set<std::string> GetDistinctHosts(
const extensions::URLPatternSet& host_patterns,
bool include_rcd,
bool exclude_file_scheme);
}
#endif