Lines Matching defs:conditions

38 // This class stores a set of conditions that may be part of a DeclarativeRule.
67 // according to the JSON array |conditions| passed by the extension API. Sets
72 const AnyVector& conditions,
75 const Conditions& conditions() const {
86 // of the conditions without URL attributes is satisfied.
90 // Appends the URLMatcherConditionSet from all conditions to |condition_sets|.
94 // Returns whether there are some conditions without UrlFilter attributes.
104 const Conditions& conditions,
160 // Rules call this method when their conditions are fulfilled.
165 // Rules call this method when their conditions are fulfilled, but Apply has
171 // Rules call this method when they have stateful conditions, and those
172 // conditions stop being fulfilled. Rules with event-based conditions (e.g. a
209 // Checks whether the set of |conditions| and |actions| are consistent.
211 typedef base::Callback<bool(const ConditionSet* conditions,
218 scoped_ptr<ConditionSet> conditions,
226 // Before constructing the final rule, calls check_consistency(conditions,
242 const ConditionSet& conditions() const { return *conditions_; }
253 // this rule. Defaults to MIN_INT. Only valid if the conditions of this rule
279 // Invalid trigger -- indication that we should only check conditions
311 const AnyVector& conditions,
315 for (AnyVector::const_iterator i = conditions.begin();
316 i != conditions.end(); ++i) {
349 const Conditions& conditions,
353 conditions_(conditions),
439 scoped_ptr<ConditionSet> conditions,
445 conditions_(conditions.release()),
465 scoped_ptr<ConditionSet> conditions = ConditionSet::Create(
466 extension, url_matcher_condition_factory, rule->conditions, error);
469 CHECK(conditions.get());
487 !check_consistency.Run(conditions.get(), actions.get(), error)) {
499 conditions.Pass(), actions.Pass(), priority));