summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/permissions/permission_message_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/permissions/permission_message_util.h')
-rw-r--r--chrome/common/extensions/permissions/permission_message_util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/extensions/permissions/permission_message_util.h b/chrome/common/extensions/permissions/permission_message_util.h
index 1ff5a5a..13b41c1 100644
--- a/chrome/common/extensions/permissions/permission_message_util.h
+++ b/chrome/common/extensions/permissions/permission_message_util.h
@@ -10,6 +10,8 @@
namespace extensions {
class PermissionMessage;
+class PermissionSet;
+class URLPatternSet;
}
namespace permission_message_util {
@@ -19,6 +21,11 @@ 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);
+
} // namespace permission_message_util
#endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_