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

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: 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
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 3ca4aa20de2d5ce7baa82c2e9427e22208e4d1b7..6c671fa840590b0e8d7bb1509d4828ecac331e20 100644
--- a/extensions/common/matcher/url_matcher_factory.cc
+++ b/extensions/common/matcher/url_matcher_factory.cc
@@ -43,6 +43,8 @@ class URLMatcherConditionFactoryMethods {
factory_methods_[keys::kHostEqualsKey] = &F::CreateHostEqualsCondition;
factory_methods_[keys::kHostPrefixKey] = &F::CreateHostPrefixCondition;
factory_methods_[keys::kHostSuffixKey] = &F::CreateHostSuffixCondition;
+ factory_methods_[keys::kOriginAndPathMatchesKey] =
+ &F::CreateOriginAndPathMatchesCondition;
factory_methods_[keys::kPathContainsKey] = &F::CreatePathContainsCondition;
factory_methods_[keys::kPathEqualsKey] = &F::CreatePathEqualsCondition;
factory_methods_[keys::kPathPrefixKey] = &F::CreatePathPrefixCondition;
« no previous file with comments | « extensions/common/matcher/url_matcher_constants.cc ('k') | extensions/common/matcher/url_matcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698