Searched defs:conditions (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/catifier/
H A Devent_page.js21 conditions: [
22 // If any of these conditions is fulfilled, the actions are executed.
40 conditions: [
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_network_controller.cc53 scoped_ptr<DevToolsNetworkConditions> conditions) {
62 base::Passed(&conditions)));
67 scoped_ptr<DevToolsNetworkConditions> conditions) {
72 DCHECK(conditions);
73 if (!conditions)
76 new_interceptor->UpdateConditions(conditions.Pass());
79 if (!conditions) {
85 interceptor->UpdateConditions(conditions.Pass());
92 if (it->second->conditions()->offline()) {
98 bool is_appcache_offline = appcache_interceptor_->conditions()
51 SetNetworkState( const std::string& client_id, scoped_ptr<DevToolsNetworkConditions> conditions) argument
65 SetNetworkStateOnIO( const std::string& client_id, scoped_ptr<DevToolsNetworkConditions> conditions) argument
[all...]
H A Ddevtools_network_interceptor.h25 // DevToolsNetworkInterceptor emulates network conditions for transactions with
36 void UpdateConditions(scoped_ptr<DevToolsNetworkConditions> conditions);
45 const DevToolsNetworkConditions* conditions() const { function in class:DevToolsNetworkInterceptor
H A Ddevtools_network_protocol_handler.cc90 scoped_ptr<DevToolsNetworkConditions> conditions(
94 UpdateNetworkState(agent_host, conditions.Pass());
100 scoped_ptr<DevToolsNetworkConditions> conditions) {
105 agent_host->GetId(), conditions.Pass());
111 scoped_ptr<DevToolsNetworkConditions> conditions; local
113 conditions.reset(new DevToolsNetworkConditions());
114 UpdateNetworkState(agent_host, conditions.Pass());
98 UpdateNetworkState( content::DevToolsAgentHost* agent_host, scoped_ptr<DevToolsNetworkConditions> conditions) argument
H A Ddevtools_network_interceptor.cc65 scoped_ptr<DevToolsNetworkConditions> conditions) {
66 DCHECK(conditions);
71 conditions_ = conditions.Pass();
64 UpdateConditions( scoped_ptr<DevToolsNetworkConditions> conditions) argument
/external/chromium_org/extensions/browser/api/declarative_webrequest/
H A Dwebrequest_condition_unittest.cc247 WebRequestConditionSet::AnyVector conditions; local
248 conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson(
256 conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson(
269 NULL, matcher.condition_factory(), conditions, &error);
272 EXPECT_EQ(2u, result->conditions().size());
316 WebRequestConditionSet::AnyVector conditions; local
317 conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson(
329 NULL, matcher.condition_factory(), conditions, &error);
332 EXPECT_EQ(1u, result->conditions().size());
370 // impossible that both conditions ar
[all...]
H A Dwebrequest_rules_registry.cc29 "conditions can be checked and the action can possibly be executed.";
63 // 1st phase -- add all rules with some conditions without UrlFilter
67 if ((*it)->conditions().IsFulfilled(-1, request_data))
71 // 2nd phase -- add all rules with some conditions triggered by URL matches.
211 const WebRequestConditionSet& conditions = i->second->conditions(); local
212 conditions.GetURLMatcherConditionSets(&url_condition_sets);
224 i->second->conditions().GetURLMatcherConditionSets(&all_new_condition_sets);
225 if (i->second->conditions().HasConditionsWithoutUrls())
295 rule->conditions()
333 Checker(const Extension* extension, const WebRequestConditionSet* conditions, const WebRequestActionSet* actions, std::string* error) argument
366 StageChecker( const WebRequestConditionSet* conditions, const WebRequestActionSet* actions, std::string* error) argument
[all...]
/external/flac/libFLAC/ia32/
H A Dnasm.h5 ; modification, are permitted provided that the following conditions variable
9 ; notice, this list of conditions and the following disclaimer.
12 ; notice, this list of conditions and the following disclaimer in the
/external/chromium_org/components/url_matcher/
H A Durl_matcher_unittest.cc413 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()
519 URLMatcherConditionSet::Conditions conditions; local
880 URLMatcherConditionSet::Conditions conditions; local
930 URLMatcherConditionSet::Conditions conditions; local
948 URLMatcherConditionSet::Conditions conditions; local
[all...]
H A Durl_matcher_factory_unittest.cc100 URLMatcherConditionSet::Vector conditions; local
101 conditions.push_back(result);
102 matcher.AddConditionSets(conditions);
253 URLMatcherConditionSet::Vector conditions; local
254 conditions.push_back(result);
255 matcher.AddConditionSets(conditions);
H A Durl_matcher.h31 // reduction of URL matching conditions to StringPatterns conducted by
131 // conditions and don't register them to a URLMatcher, they will continue to
304 // This class represents a set of conditions that all need to match on a
314 // Matches if all conditions in |conditions| are fulfilled.
315 URLMatcherConditionSet(ID id, const Conditions& conditions);
317 // Matches if all conditions in |conditions|, |scheme_filter| and
320 URLMatcherConditionSet(ID id, const Conditions& conditions,
324 // Matches if all conditions i
335 const Conditions& conditions() const { return conditions_; } function in class:url_matcher::URLMatcherConditionSet
[all...]
H A Durl_matcher.cc721 const Conditions& conditions)
723 conditions_(conditions) {}
727 const Conditions& conditions,
731 conditions_(conditions),
737 const Conditions& conditions,
742 conditions_(conditions),
900 const URLMatcherConditionSet::Conditions& conditions = local
901 condition_set_iter->second->conditions();
903 conditions.begin(); condition_iter != conditions
719 URLMatcherConditionSet( ID id, const Conditions& conditions) argument
725 URLMatcherConditionSet( ID id, const Conditions& conditions, scoped_ptr<URLMatcherSchemeFilter> scheme_filter, scoped_ptr<URLMatcherPortFilter> port_filter) argument
735 URLMatcherConditionSet( ID id, const Conditions& conditions, const QueryConditions& query_conditions, scoped_ptr<URLMatcherSchemeFilter> scheme_filter, scoped_ptr<URLMatcherPortFilter> port_filter) argument
962 const URLMatcherConditionSet::Conditions& conditions = local
991 const URLMatcherConditionSet::Conditions& conditions = local
1023 const URLMatcherConditionSet::Conditions& conditions = local
1065 const URLMatcherConditionSet::Conditions& conditions = local
[all...]
/external/chromium_org/cc/test/
H A Dordered_simple_task_runner.cc156 std::vector<base::Callback<bool(void)> > conditions(1);
157 conditions[0] = condition;
158 return RunTasksWhile(conditions);
162 const std::vector<base::Callback<bool(void)> >& conditions) {
178 std::vector<base::Callback<bool(void)> > modifiable_conditions(conditions);
161 RunTasksWhile( const std::vector<base::Callback<bool(void)> >& conditions) argument
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
H A Dchrome_content_rules_registry.cc141 if (rule->conditions().IsFulfilled(*url_match, renderer_data))
194 const ContentConditionSet& conditions = i->second->conditions(); local
195 conditions.GetURLMatcherConditionSets(&url_condition_sets);
209 i->second->conditions().GetURLMatcherConditionSets(&all_new_condition_sets);
237 rule->conditions().GetURLMatcherConditionSets(&condition_sets);
297 rule.conditions().begin();
298 condition != rule.conditions().end();
/external/chromium_org/extensions/browser/api/declarative/
H A Ddeclarative_rule_unittest.cc72 RecordingConditionSet::AnyVector conditions; local
73 conditions.push_back(ScopedToLinkedPtr(ParseJson("{\"key\": 1}")));
74 conditions.push_back(ScopedToLinkedPtr(ParseJson("{\"bad_key\": 2}")));
78 NULL, matcher.condition_factory(), conditions, &error);
85 RecordingConditionSet::AnyVector conditions; local
86 conditions.push_back(ScopedToLinkedPtr(ParseJson("{\"key\": 1}")));
87 conditions.push_back(ScopedToLinkedPtr(ParseJson("[\"val1\", 2]")));
92 NULL, matcher.condition_factory(), conditions, &error);
95 EXPECT_EQ(2u, result->conditions().size());
97 EXPECT_EQ(matcher.condition_factory(), result->conditions()[
159 FulfillableConditionSet::AnyVector conditions; local
355 const Rule::ConditionSet::Conditions& conditions = local
371 AtLeastOneCondition( const DeclarativeConditionSet<FulfillableCondition>* conditions, const DeclarativeActionSet<SummingAction>* actions, std::string* error) argument
[all...]
H A Ddeclarative_rule.h38 // 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 { function in class:extensions::DeclarativeConditionSet
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 ar
242 const ConditionSet& conditions() const { return *conditions_; } function in class:extensions::DeclarativeRule
308 Create( const Extension* extension, url_matcher::URLMatcherConditionFactory* url_matcher_condition_factory, const AnyVector& conditions, std::string* error) argument
348 DeclarativeConditionSet( const Conditions& conditions, const URLMatcherIdToCondition& match_id_to_condition, const std::vector<const ConditionT*>& conditions_without_urls) argument
435 DeclarativeRule( const GlobalRuleId& id, const Tags& tags, base::Time extension_installation_time, scoped_ptr<ConditionSet> conditions, scoped_ptr<ActionSet> actions, Priority priority) argument
465 scoped_ptr<ConditionSet> conditions = ConditionSet::Create( local
[all...]
/external/chromium_org/tools/gyp/tools/emacs/
H A Dgyp.el60 (defconst gyp-conditions-regexp
61 (regexp-opt (list "conditions" "target_conditions"))
62 "Regular expression to introduce conditions sections")
90 ((string-match-p gyp-conditions-regexp section) 'conditions)
172 ((eq (car sections) 'conditions)
173 ;; conditions can occur in a variables section, but we still want to
178 ;; conditions and sources can have items in [[ ]]
197 ('conditions 2)
222 "cflags_cc" "conditions" "configuration
[all...]
/external/chromium_org/win8/test/
H A Dui_automation_client.cc405 std::vector<IUIAutomationCondition*> conditions; local
406 conditions.push_back(invokable_condition.get());
407 conditions.push_back(item_name_condition.get());
408 conditions.push_back(control_view_condition.get());
410 &conditions[0], conditions.size(), condition.Receive());
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
H A Dwebrequest_rules_registry_unittest.cc66 // How many rules are there which have some conditions not triggered by URL
129 rule->conditions.push_back(
131 rule->conditions.push_back(
148 rule->conditions.push_back(
166 rule->conditions.push_back(
188 rule->conditions.push_back(
206 // Create a rule with the ID |rule_id| and with conditions created from the
222 rule->conditions.push_back(CreateCondition(**it));
498 " \"conditions\": [ \n"
516 " \"conditions\"
706 scoped_ptr<WebRequestConditionSet> conditions = local
[all...]
/external/chromium_org/components/policy/core/browser/
H A Durl_blacklist_manager.cc70 // conditions to the |query_conditions|.
338 std::set<URLMatcherCondition> conditions; local
339 conditions.insert(match_subdomains ?
361 conditions,
/external/deqp/modules/glshared/
H A DglsAttributeLocationTests.cpp132 set<string> conditions; local
137 conditions.insert(iter->getCondition().getName());
140 for (set<string>::const_iterator iter = conditions.begin(); iter != conditions.end(); ++iter)
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dlocation_bar_view.cc1563 chrome::DisplaySearchButtonConditions conditions = local
1566 (conditions == chrome::DISPLAY_SEARCH_BUTTON_ALWAYS) ||
1567 ((conditions != chrome::DISPLAY_SEARCH_BUTTON_NEVER) &&
1569 ((conditions == chrome::DISPLAY_SEARCH_BUTTON_FOR_STR_OR_IIP) &&
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasm-pp.c254 static const char *conditions[] = { variable
1985 * Determine whether one of the various `if' conditions is true or
3816 j = elements(conditions);
3820 m = nasm_stricmp(t->text, conditions[k]);
3960 conditions[cc]);
3965 nasm_strdup(conditions[inverse_ccs
3990 text = nasm_strdup(conditions[cc]);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 861 milliseconds

12