Chromium Code Reviews| 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..be6403d95689483d0b8849db1414b556dd659fde 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 IsCompletelyEmpty() const; |
|
Matt Perry
2012/03/28 18:59:52
nit: IsEmpty should be fine... I wouldn't expect i
battre
2012/03/28 19:18:42
Done.
|
| + |
| private: |
| // A node of an Aho Corasick Tree. This is implemented according to |
| // http://www.cs.uku.fi/~kilpelai/BSA05/lectures/slides04.pdf |