Searched refs:URLMatcherCondition (Results 1 – 6 of 6) sorted by relevance
35 class URL_MATCHER_EXPORT URLMatcherCondition {60 URLMatcherCondition();61 ~URLMatcherCondition();62 URLMatcherCondition(Criterion criterion,64 URLMatcherCondition(const URLMatcherCondition& rhs);65 URLMatcherCondition& operator=(const URLMatcherCondition& rhs);66 bool operator<(const URLMatcherCondition& rhs) const;134 URLMatcherCondition CreateHostPrefixCondition(const std::string& prefix);135 URLMatcherCondition CreateHostSuffixCondition(const std::string& suffix);136 URLMatcherCondition CreateHostContainsCondition(const std::string& str);[all …]
144 bool IsRegexCriterion(URLMatcherCondition::Criterion criterion) { in IsRegexCriterion()145 return criterion == URLMatcherCondition::URL_MATCHES; in IsRegexCriterion()148 bool IsOriginAndPathRegexCriterion(URLMatcherCondition::Criterion criterion) { in IsOriginAndPathRegexCriterion()149 return criterion == URLMatcherCondition::ORIGIN_AND_PATH_MATCHES; in IsOriginAndPathRegexCriterion()158 URLMatcherCondition::URLMatcherCondition() in URLMatcherCondition() function in url_matcher::URLMatcherCondition162 URLMatcherCondition::~URLMatcherCondition() {} in ~URLMatcherCondition()164 URLMatcherCondition::URLMatcherCondition( in URLMatcherCondition() function in url_matcher::URLMatcherCondition170 URLMatcherCondition::URLMatcherCondition(const URLMatcherCondition& rhs) in URLMatcherCondition() function in url_matcher::URLMatcherCondition174 URLMatcherCondition& URLMatcherCondition::operator=( in operator =()175 const URLMatcherCondition& rhs) { in operator =()[all …]
19 URLMatcherCondition m1(URLMatcherCondition::HOST_SUFFIX, &pattern); in TEST()20 EXPECT_EQ(URLMatcherCondition::HOST_SUFFIX, m1.criterion()); in TEST()23 URLMatcherCondition m2; in TEST()25 EXPECT_EQ(URLMatcherCondition::HOST_SUFFIX, m2.criterion()); in TEST()28 URLMatcherCondition m3(m1); in TEST()29 EXPECT_EQ(URLMatcherCondition::HOST_SUFFIX, m3.criterion()); in TEST()65 EXPECT_FALSE(URLMatcherCondition(URLMatcherCondition::HOST_SUFFIX, in TEST()68 EXPECT_TRUE(URLMatcherCondition(URLMatcherCondition::HOST_CONTAINS, in TEST()70 EXPECT_TRUE(URLMatcherCondition(URLMatcherCondition::PATH_CONTAINS, in TEST()72 EXPECT_TRUE(URLMatcherCondition(URLMatcherCondition::QUERY_CONTAINS, in TEST()[all …]
77 URLMatcherCondition Call( in Call()88 typedef URLMatcherCondition120 URLMatcherCondition url_matcher_condition = in CreateFromURLFilterDictionary()182 URLMatcherCondition URLMatcherFactory::CreateURLMatcherCondition( in CreateURLMatcherCondition()191 return URLMatcherCondition(); in CreateURLMatcherCondition()199 return URLMatcherCondition(); in CreateURLMatcherCondition()210 return URLMatcherCondition(); in CreateURLMatcherCondition()
46 static URLMatcherCondition CreateURLMatcherCondition(
34 using url_matcher::URLMatcherCondition;249 std::set<URLMatcherCondition> conditions; in CreateConditionSet()