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 f85c648bfc036aa9ac0261d0aa3cb62ed0d5318f..791ab87f192b667ce785f618882a75f74b895467 100644 |
--- a/components/content_settings/core/common/content_settings_pattern.h |
+++ b/components/content_settings/core/common/content_settings_pattern.h |
@@ -167,6 +167,10 @@ class ContentSettingsPattern { |
// True if this pattern matches all hosts (i.e. it has a host wildcard). |
bool MatchesAllHosts() const; |
+ // True if this pattern has no wildcards (and therefore matches exactly one |
+ // host). |
+ bool HasNoWildcard() const; |
+ |
// Returns a std::string representation of this pattern. |
std::string ToString() const; |