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

Unified Diff: extensions/common/matcher/url_matcher_factory.cc

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: 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
Index: extensions/common/matcher/url_matcher_factory.cc
diff --git a/extensions/common/matcher/url_matcher_factory.cc b/extensions/common/matcher/url_matcher_factory.cc
index cdd08bae0d09b7987f5933b8d6b64a25946bd610..f450cfe82480aee0b09c4162b5732d73a836aa72 100644
--- a/extensions/common/matcher/url_matcher_factory.cc
+++ b/extensions/common/matcher/url_matcher_factory.cc
@@ -57,6 +57,8 @@ class URLMatcherConditionFactoryMethods {
factory_methods_[keys::kURLPrefixKey] = &F::CreateURLPrefixCondition;
factory_methods_[keys::kURLSuffixKey] = &F::CreateURLSuffixCondition;
factory_methods_[keys::kURLMatchesKey] = &F::CreateURLMatchesCondition;
+ factory_methods_[keys::kStrippedURLMatchesKey] =
+ &F::CreateStrippedURLMatchesCondition;
}
// Returns whether a factory method for the specified |pattern_type| (e.g.

Powered by Google App Engine
This is Rietveld 408576698