Index: chrome/browser/extensions/api/declarative/substring_set_matcher.h |
diff --git a/chrome/browser/extensions/api/declarative/substring_set_matcher.h b/chrome/browser/extensions/api/declarative/substring_set_matcher.h |
index 149ac14db241c9aea43ae33d882cf3e1bcdf44e1..6f0e233339615db6082788f7fdde6feede54e44f 100644 |
--- a/chrome/browser/extensions/api/declarative/substring_set_matcher.h |
+++ b/chrome/browser/extensions/api/declarative/substring_set_matcher.h |
@@ -68,6 +68,9 @@ class SubstringSetMatcher { |
bool Match(const std::string& text, |
std::set<SubstringPattern::ID>* matches) const; |
+ // Returns true if this object retains no allocated data. Only for debugging. |
+ bool IsEmpty() const; |
+ |
private: |
// A node of an Aho Corasick Tree. This is implemented according to |
// http://www.cs.uku.fi/~kilpelai/BSA05/lectures/slides04.pdf |