Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: extensions/common/matcher/regex_set_matcher.h

Issue 13699007: Provide a mechanism to the decl. WebRequest API to match URLs without the query against a RegEx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/events.json ('k') | extensions/common/matcher/regex_set_matcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/matcher/regex_set_matcher.h
diff --git a/extensions/common/matcher/regex_set_matcher.h b/extensions/common/matcher/regex_set_matcher.h
index 8d9de1c8c0f5213512bfb431f828a3197f4b182e..906ab9ca3eeb30dc95f97124ea33b41a31869668 100644
--- a/extensions/common/matcher/regex_set_matcher.h
+++ b/extensions/common/matcher/regex_set_matcher.h
@@ -43,6 +43,8 @@ class RegexSetMatcher {
bool Match(const std::string& text,
std::set<StringPattern::ID>* matches) const;
+ bool IsEmpty() const;
+
private:
typedef int RE2ID;
typedef std::map<StringPattern::ID, const StringPattern*> RegexMap;
« no previous file with comments | « chrome/common/extensions/api/events.json ('k') | extensions/common/matcher/regex_set_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698