Home
last modified time | relevance | path

Searched refs:providers_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/app_list/search/
Dmixer_unittest.cc96 providers_.push_back(new TestSearchProvider("app")); in SetUp()
97 providers_.push_back(new TestSearchProvider("omnibox")); in SetUp()
98 providers_.push_back(new TestSearchProvider("webstore")); in SetUp()
99 providers_.push_back(new TestSearchProvider("people")); in SetUp()
103 mixer_->AddProviderToGroup(Mixer::MAIN_GROUP, providers_[0]); in SetUp()
104 mixer_->AddProviderToGroup(Mixer::OMNIBOX_GROUP, providers_[1]); in SetUp()
105 mixer_->AddProviderToGroup(Mixer::WEBSTORE_GROUP, providers_[2]); in SetUp()
106 mixer_->AddProviderToGroup(Mixer::PEOPLE_GROUP, providers_[3]); in SetUp()
112 for (size_t i = 0; i < providers_.size(); ++i) { in RunQuery()
113 providers_[i]->Start(query); in RunQuery()
[all …]
Dsearch_controller.cc107 for (Providers::iterator it = providers_.begin(); in Start()
108 it != providers_.end(); in Start()
125 for (Providers::iterator it = providers_.begin(); in Stop()
126 it != providers_.end(); in Stop()
163 providers_.push_back(provider.release()); // Takes ownership. in AddProvider()
Dmixer.cc61 providers_.push_back(provider); in AddProvider()
67 for (Providers::const_iterator provider_it = providers_.begin(); in FetchResults()
68 provider_it != providers_.end(); in FetchResults()
119 Providers providers_; // Not owned. member in app_list::Mixer::Group
Dsearch_controller.h69 Providers providers_; variable
/external/chromium_org/components/policy/core/common/
Dpolicy_service_impl.cc76 providers_ = providers; in PolicyServiceImpl()
91 for (Iterator it = providers_.begin(); it != providers_.end(); ++it) in ~PolicyServiceImpl()
132 if (providers_.empty()) { in RefreshPolicies()
143 for (Iterator it = providers_.begin(); it != providers_.end(); ++it) in RefreshPolicies()
145 for (Iterator it = providers_.begin(); it != providers_.end(); ++it) in RefreshPolicies()
151 DCHECK_EQ(1, std::count(providers_.begin(), providers_.end(), provider)); in OnUpdatePolicy()
185 for (Iterator it = providers_.begin(); it != providers_.end(); ++it) { in MergeAndTriggerUpdates()
243 for (Iterator it = providers_.begin(); it != providers_.end(); ++it) { in CheckInitializationComplete()
Dpolicy_service_impl.h75 Providers providers_; variable
/external/chromium_org/extensions/browser/
Dmanagement_policy.cc51 providers_.insert(provider); in RegisterProvider()
55 providers_.erase(provider); in UnregisterProvider()
79 for (ProviderList::const_iterator it = providers_.begin(); in MustRemainDisabled()
80 it != providers_.end(); ++it) in MustRemainDisabled()
88 providers_.clear(); in UnregisterAllProviders()
92 return providers_.size(); in GetNumProviders()
100 for (ProviderList::const_iterator it = providers_.begin(); in ApplyToProviderList()
101 it != providers_.end(); ++it) { in ApplyToProviderList()
Dmanagement_policy.h135 ProviderList providers_; variable
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_controller.cc190 providers_.push_back(new BookmarkProvider(profile)); in AutocompleteController()
192 providers_.push_back(new BuiltinProvider()); in AutocompleteController()
194 providers_.push_back(new HistoryQuickProvider(profile)); in AutocompleteController()
197 providers_.push_back(history_url_provider_); in AutocompleteController()
208 providers_.push_back(keyword_provider_); in AutocompleteController()
215 providers_.push_back(search_provider_); in AutocompleteController()
218 providers_.push_back(new ShortcutsProvider(profile)); in AutocompleteController()
223 providers_.push_back(zero_suggest_provider_); in AutocompleteController()
261 for (Providers::iterator i(providers_.begin()); i != providers_.end(); ++i) { in Start()
314 for (Providers::const_iterator i(providers_.begin()); i != providers_.end(); in Stop()
[all …]
Dautocomplete_controller.h142 const Providers& providers() const { return providers_; } in providers()
204 Providers providers_; variable
Dautocomplete_provider_unittest.cc287 EXPECT_TRUE(controller_->providers_.empty()); in ResetControllerWithTestProviders()
288 controller_->providers_.swap(providers); in ResetControllerWithTestProviders()
/external/chromium_org/content/browser/geolocation/
Dlocation_arbitrator_impl.cc49 for (ScopedVector<LocationProvider>::iterator i = providers_.begin(); in OnPermissionGranted()
50 i != providers_.end(); ++i) { in OnPermissionGranted()
59 if (providers_.empty()) { in StartProviders()
70 for (ScopedVector<LocationProvider>::iterator i = providers_.begin(); in DoStartProviders()
71 i != providers_.end(); ++i) { in DoStartProviders()
83 providers_.clear(); in StopProviders()
90 if (!is_running_ || !providers_.empty()) { in OnAccessTokenStoresLoaded()
122 providers_.push_back(provider); in RegisterProvider()
Dlocation_arbitrator_impl.h87 ScopedVector<LocationProvider> providers_; variable
/external/chromium_org/chrome/browser/chromeos/settings/
Dcros_settings.cc65 STLDeleteElements(&providers_); in ~CrosSettings()
93 for (size_t i = 0; i < providers_.size(); ++i) { in PrepareTrustedValues()
95 providers_[i]->PrepareTrustedValues(callback); in PrepareTrustedValues()
253 providers_.push_back(provider); in AddSettingsProvider()
268 std::find(providers_.begin(), providers_.end(), provider); in RemoveSettingsProvider()
269 if (it != providers_.end()) { in RemoveSettingsProvider()
270 providers_.erase(it); in RemoveSettingsProvider()
305 for (size_t i = 0; i < providers_.size(); ++i) { in GetProvider()
306 if (providers_[i]->HandlesSetting(path)) in GetProvider()
307 return providers_[i]; in GetProvider()
Dcros_settings.h115 std::vector<CrosSettingsProvider*> providers_; variable
/external/chromium_org/components/omnibox/
Dsearch_provider.cc130 providers_(template_url_service), in SearchProvider()
197 TemplateURLService* model = providers_.template_url_service(); in Start()
240 !providers_.equal(default_provider_keyword, keyword_provider_keyword)) { in Start()
246 providers_.set(default_provider_keyword, keyword_provider_keyword); in Start()
257 match.keyword = providers_.default_provider(); in Start()
301 return is_keyword ? providers_.GetKeywordProviderURL() in GetTemplateURL()
302 : providers_.GetDefaultProviderURL(); in GetTemplateURL()
312 providers_.default_provider().empty(); in ShouldAppendExtraParams()
396 !is_keyword && !providers_.keyword_provider().empty(); in SortResults()
422 const TemplateURL* default_url = providers_.GetDefaultProviderURL(); in LogFetchComplete()
[all …]
Dsearch_provider.h355 Providers providers_; variable
/external/chromium_org/content/browser/service_worker/
Dservice_worker_context_core.cc94 providers_(new ProcessToProviderMap), in ServiceWorkerContextCore()
115 providers_(old_context->providers_.release()), in ServiceWorkerContextCore()
152 providers_->AddWithID(map, host_ptr->process_id()); in AddProviderHost()
166 if (providers_->Lookup(process_id)) in RemoveAllProviderHostsForProcess()
167 providers_->Remove(process_id); in RemoveAllProviderHostsForProcess()
172 return make_scoped_ptr(new ProviderHostIterator(providers_.get())); in GetProviderHostIterator()
Dservice_worker_context_core.h192 return providers_->Lookup(process_id); in NON_EXPORTED_BASE()
210 scoped_ptr<ProcessToProviderMap> providers_; in NON_EXPORTED_BASE() local
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_pref_store_test.cc32 providers_.push_back(&provider_); in ConfigurationPolicyPrefStoreTest()
33 policy_service_.reset(new PolicyServiceImpl(providers_)); in ConfigurationPolicyPrefStoreTest()
Dconfiguration_policy_pref_store_test.h36 PolicyServiceImpl::Providers providers_; variable
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
Dmetadata_cache.js64 this.providers_ = providers;
163 for (var index = 0; index < this.providers_.length; index++) {
164 if (!this.providers_[index].isInitialized()) return false;
321 var providers = this.providers_.slice();
631 for (var index = 0; index < this.providers_.length; index++) {
632 item[this.providers_[index].getId()] = {callbacks: []};
/external/chromium_org/chrome/browser/devtools/device/
Dandroid_device_manager.cc455 for (DeviceProviders::iterator it = providers_.begin(); in SetDeviceProviders()
456 it != providers_.end(); ++it) { in SetDeviceProviders()
462 providers_ = providers; in SetDeviceProviders()
467 providers_, in QueryDevices()
Dandroid_device_manager.h203 DeviceProviders providers_;
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager.cc1070 for (ResourceProviderList::iterator iter = providers_.begin(); in StartListening()
1071 iter != providers_.end(); ++iter) { in StartListening()
1086 for (ResourceProviderList::const_iterator iter = providers_.begin(); in StopListening()
1087 iter != providers_.end(); ++iter) { in StopListening()
1326 for (ResourceProviderList::iterator iter = providers_.begin(); in BytesRead()
1327 iter != providers_.end(); ++iter) { in BytesRead()
1462 providers_.push_back(provider); in AddResourceProvider()

12