Index: extensions/common/url_pattern_set.h |
diff --git a/extensions/common/url_pattern_set.h b/extensions/common/url_pattern_set.h |
index c17f613442dd0111808a6b6684343c72ed69c6ad..30db55827b9268ddd2df76e0da4d72bda311b3f1 100644 |
--- a/extensions/common/url_pattern_set.h |
+++ b/extensions/common/url_pattern_set.h |
@@ -69,6 +69,9 @@ class URLPatternSet { |
void ClearPatterns(); |
+ // Adds a pattern based on |origin| to the set. |
+ bool AddOrigin(int valid_schemes, const GURL& origin); |
+ |
// Returns true if every URL that matches |set| is matched by this. In other |
// words, if every pattern in |set| is encompassed by a pattern in this. |
bool Contains(const URLPatternSet& set) const; |