Index: components/content_settings/core/common/content_settings_pattern.h |
diff --git a/components/content_settings/core/common/content_settings_pattern.h b/components/content_settings/core/common/content_settings_pattern.h |
index fc7b6091f07caf7b35d29bf00adecae73e50e0e5..37022d43cadc6f18d405124fe6d352fab6c4febd 100644 |
--- a/components/content_settings/core/common/content_settings_pattern.h |
+++ b/components/content_settings/core/common/content_settings_pattern.h |
@@ -194,6 +194,10 @@ class ContentSettingsPattern { |
// Returns scheme type of pattern. |
ContentSettingsPattern::SchemeType GetScheme() const; |
+ // True if this pattern has a non-empty path. Can only be true for patterns |
+ // with file: schemes. |
+ bool HasPath() const; |
+ |
// Compares the pattern with a given |other| pattern and returns the |
// |Relation| of the two patterns. |
Relation Compare(const ContentSettingsPattern& other) const; |