Lines Matching defs:conditions
413 std::set<URLMatcherCondition> conditions;
414 conditions.insert(m1);
415 conditions.insert(m2);
418 new URLMatcherConditionSet(1, conditions));
420 EXPECT_EQ(2u, condition_set->conditions().size());
433 std::set<URLMatcherCondition> conditions;
434 conditions.insert(m1);
435 conditions.insert(m2);
438 new URLMatcherConditionSet(1, conditions));
440 EXPECT_EQ(2u, condition_set->conditions().size());
453 conditions,
460 conditions,
472 1, conditions, scoped_ptr<URLMatcherSchemeFilter>(), filter.Pass()));
519 URLMatcherConditionSet::Conditions conditions;
520 conditions.insert(m1);
521 conditions.insert(m2);
537 conditions,
796 URLMatcherConditionSet::Conditions conditions1;
809 URLMatcherConditionSet::Conditions conditions2;
825 URLMatcherConditionSet::Conditions conditions3;
872 // and *Contains conditions we need to check that when a pattern matches a
880 URLMatcherConditionSet::Conditions conditions;
883 conditions.insert(factory->CreateHostEqualsCondition("www.google.com"));
884 conditions.insert(factory->CreateHostContainsCondition("www.google.com"));
886 conditions.insert(factory->CreateHostPrefixCondition("www."));
887 conditions.insert(factory->CreateHostContainsCondition("www."));
889 conditions.insert(factory->CreateHostSuffixCondition("com"));
890 conditions.insert(factory->CreateHostContainsCondition("com"));
892 conditions.insert(factory->CreatePathEqualsCondition("/webhp"));
893 conditions.insert(factory->CreatePathContainsCondition("/webhp"));
895 conditions.insert(factory->CreatePathPrefixCondition("/we"));
896 conditions.insert(factory->CreatePathContainsCondition("/we"));
898 conditions.insert(factory->CreatePathSuffixCondition("hp"));
899 conditions.insert(factory->CreatePathContainsCondition("hp"));
901 conditions.insert(factory->CreateQueryEqualsCondition("test=val&a=b"));
902 conditions.insert(factory->CreateQueryContainsCondition("test=val&a=b"));
904 conditions.insert(factory->CreateQueryPrefixCondition("test=v"));
905 conditions.insert(factory->CreateQueryContainsCondition("test=v"));
907 conditions.insert(factory->CreateQuerySuffixCondition("l&a=b"));
908 conditions.insert(factory->CreateQueryContainsCondition("l&a=b"));
911 conditions.insert(factory->CreateQueryEqualsCondition("?test=val&a=b"));
913 conditions.insert(factory->CreateQueryContainsCondition("?test=val&a=b"));
918 new URLMatcherConditionSet(kConditionSetId, conditions)));
930 URLMatcherConditionSet::Conditions conditions;
932 conditions.insert(factory->CreateOriginAndPathMatchesCondition("w..hp"));
936 new URLMatcherConditionSet(kConditionSetId, conditions)));
948 URLMatcherConditionSet::Conditions conditions;
950 conditions.insert(factory->CreateOriginAndPathMatchesCondition("val"));
954 new URLMatcherConditionSet(kConditionSetId, conditions)));