Home
last modified time | relevance | path

Searched refs:extensions_ (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium_org/extensions/common/
Dextension_set.cc35 return extensions_.size(); in size()
39 return extensions_.empty(); in is_empty()
43 return extensions_.find(extension_id) != extensions_.end(); in Contains()
47 bool was_present = ContainsKey(extensions_, extension->id()); in Insert()
48 extensions_[extension->id()] = extension; in Insert()
64 bool was_present = extensions_.erase(id) > 0; in Remove()
71 extensions_.clear(); in Clear()
98 for (ExtensionMap::const_iterator iter = extensions_.begin(); in GetHostedAppByURL()
99 iter != extensions_.end(); ++iter) { in GetHostedAppByURL()
109 for (ExtensionMap::const_iterator iter = extensions_.begin(); in GetHostedAppByOverlappingWebExtent()
[all …]
Dextension_set.h71 const_iterator begin() const { return const_iterator(extensions_.begin()); } in begin()
72 const_iterator end() const { return const_iterator(extensions_.end()); } in end()
140 ExtensionMap extensions_; variable
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dextension_action_prefs_unittest.cc23 extensions_.push_back(prefs_.AddExtension(name)); in Initialize()
27 for (iter = extensions_.begin(); iter != extensions_.end(); ++iter) { in Initialize()
33 prefs(), extensions_[0]->id(), false); in Initialize()
35 prefs(), extensions_[1]->id(), true); in Initialize()
41 prefs(), extensions_[0]->id())); in Verify()
44 ExtensionList::const_iterator iter = extensions_.begin() + 1; in Verify()
45 for (; iter != extensions_.end(); ++iter) { in Verify()
47 static_cast<int>(iter - extensions_.begin()))); in Verify()
54 ExtensionList extensions_; member in extensions::ExtensionPrefsHidingBrowserActions
/external/chromium_org/remoting/host/
Dhost_extension_session_manager_unittest.cc23 extensions_.push_back(&extension1_); in HostExtensionSessionManagerTest()
24 extensions_.push_back(&extension2_); in HostExtensionSessionManagerTest()
25 extensions_.push_back(&extension3_); in HostExtensionSessionManagerTest()
34 HostExtensionSessionManager::HostExtensions extensions_; member in remoting::HostExtensionSessionManagerTest
45 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
62 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
79 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
94 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
110 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
132 HostExtensionSessionManager extension_manager(extensions_, in TEST_F()
[all …]
Dhost_extension_session_manager.cc20 extensions_(extensions) { in HostExtensionSessionManager()
28 for (HostExtensions::const_iterator extension = extensions_.begin(); in GetCapabilities()
29 extension != extensions_.end(); ++extension) { in GetCapabilities()
72 for (HostExtensions::const_iterator extension = extensions_.begin(); in OnNegotiatedCapabilities()
73 extension != extensions_.end(); ++extension) { in OnNegotiatedCapabilities()
Dclient_session_unittest.cc179 std::vector<HostExtension*> extensions_; member in remoting::ClientSessionTest
261 extensions_)); in CreateClientSession()
718 extensions_.push_back(&extension1); in TEST_F()
720 extensions_.push_back(&extension2); in TEST_F()
722 extensions_.push_back(&extension3); in TEST_F()
780 extensions_.push_back(&extension); in TEST_F()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dextension_set.cc165 for (map<int, Extension>::iterator iter = extensions_.begin(); in ~ExtensionSet()
166 iter != extensions_.end(); ++iter) { in ~ExtensionSet()
177 map<int, Extension>::const_iterator iter = extensions_.find(number); in Has()
178 if (iter == extensions_.end()) return false; in Has()
185 for (map<int, Extension>::const_iterator iter = extensions_.begin(); in NumExtensions()
186 iter != extensions_.end(); ++iter) { in NumExtensions()
195 map<int, Extension>::const_iterator iter = extensions_.find(number); in ExtensionSize()
196 if (iter == extensions_.end()) return false; in ExtensionSize()
201 map<int, Extension>::const_iterator iter = extensions_.find(number); in ExtensionType()
202 if (iter == extensions_.end()) { in ExtensionType()
[all …]
Dextension_set_heavy.cc74 for (map<int, Extension>::const_iterator iter = extensions_.begin(); in AppendToList()
75 iter != extensions_.end(); ++iter) { in AppendToList()
123 map<int, Extension>::const_iterator iter = extensions_.find(number); in GetMessage()
124 if (iter == extensions_.end() || iter->second.is_cleared) { in GetMessage()
166 map<int, Extension>::iterator iter = extensions_.find(descriptor->number()); in ReleaseMessage()
167 if (iter == extensions_.end()) { in ReleaseMessage()
180 extensions_.erase(descriptor->number()); in ReleaseMessage()
278 extensions_.size() * sizeof(map<int, Extension>::value_type); in SpaceUsedExcludingSelf()
279 for (map<int, Extension>::const_iterator iter = extensions_.begin(), in SpaceUsedExcludingSelf()
280 end = extensions_.end(); in SpaceUsedExcludingSelf()
[all …]
/external/protobuf/src/google/protobuf/
Dextension_set.cc165 for (map<int, Extension>::iterator iter = extensions_.begin(); in ~ExtensionSet()
166 iter != extensions_.end(); ++iter) { in ~ExtensionSet()
177 map<int, Extension>::const_iterator iter = extensions_.find(number); in Has()
178 if (iter == extensions_.end()) return false; in Has()
184 map<int, Extension>::const_iterator iter = extensions_.find(number); in ExtensionSize()
185 if (iter == extensions_.end()) return false; in ExtensionSize()
190 map<int, Extension>::iterator iter = extensions_.find(number); in ClearExtension()
191 if (iter == extensions_.end()) return; in ClearExtension()
218 map<int, Extension>::const_iterator iter = extensions_.find(number); \
219 if (iter == extensions_.end() || iter->second.is_cleared) { \
[all …]
Dextension_set_heavy.cc71 for (map<int, Extension>::const_iterator iter = extensions_.begin(); in AppendToList()
72 iter != extensions_.end(); ++iter) { in AppendToList()
115 map<int, Extension>::const_iterator iter = extensions_.find(number); in GetMessage()
116 if (iter == extensions_.end() || iter->second.is_cleared) { in GetMessage()
237 extensions_.size() * sizeof(map<int, Extension>::value_type); in SpaceUsedExcludingSelf()
238 for (map<int, Extension>::const_iterator iter = extensions_.begin(), in SpaceUsedExcludingSelf()
239 end = extensions_.end(); in SpaceUsedExcludingSelf()
305 for (iter = extensions_.lower_bound(start_field_number); in SerializeWithCachedSizesToArray()
306 iter != extensions_.end() && iter->first < end_field_number; in SerializeWithCachedSizesToArray()
317 for (iter = extensions_.begin(); iter != extensions_.end(); ++iter) { in SerializeMessageSetWithCachedSizesToArray()
/external/chromium_org/ui/gl/
Dgl_context_stub_with_extensions.cc13 if (extensions_.size() != 0) in AddExtensionsString()
14 extensions_ += ' '; in AddExtensionsString()
15 extensions_ += extensions; in AddExtensionsString()
19 return extensions_; in GetExtensions()
Dgl_context_stub_with_extensions.h29 std::string extensions_;
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_watcher.cc51 extensions_[extension_id]++; in AddExtension()
57 ExtensionCountMap::iterator it = extensions_.find(extension_id); in RemoveExtension()
58 if (it == extensions_.end()) { in RemoveExtension()
69 extensions_.erase(it); in RemoveExtension()
74 for (ExtensionCountMap::const_iterator iter = extensions_.begin(); in GetExtensionIds()
75 iter != extensions_.end(); ++iter) { in GetExtensionIds()
/external/chromium_org/extensions/browser/
Dinfo_map.cc57 extensions_.Insert(extension); in AddExtension()
68 const Extension* extension = extensions_.GetByID(extension_id); in RemoveExtension()
75 extensions_.Remove(extension_id); in RemoveExtension()
141 const Extension* extension = extensions_.GetByID(id); in GetExtensionsWithAPIPermissionForSecurityOrigin()
150 ExtensionSet::const_iterator i = extensions_.begin(); in GetExtensionsWithAPIPermissionForSecurityOrigin()
151 for (; i != extensions_.end(); ++i) { in GetExtensionsWithAPIPermissionForSecurityOrigin()
177 const Extension* extension = extensions_.GetExtensionOrAppByURL(file_url); in MapUrlToLocalFilePath()
203 const Extension* new_extension = extensions_.GetByID(new_extension_id); in MapUrlToLocalFilePath()
Dinfo_map.h34 const ExtensionSet& extensions() const { return extensions_; } in extensions()
122 ExtensionSet extensions_; variable
/external/chromium_org/chrome/browser/background/
Dbackground_application_list_model.h81 return extensions_.begin(); in begin()
85 return extensions_.end(); in end()
89 return extensions_.size(); in size()
155 extensions::ExtensionList extensions_; variable
Dbackground_application_list_model.cc239 DCHECK(position >= 0 && static_cast<size_t>(position) < extensions_.size()); in GetExtension()
240 return extensions_[position].get(); in GetExtension()
272 for (ExtensionList::const_iterator cursor = extensions_.begin(); in GetPosition()
273 cursor != extensions_.end(); in GetPosition()
449 ExtensionList::const_iterator old_cursor = extensions_.begin(); in Update()
451 while (old_cursor != extensions_.end() && in Update()
458 if (old_cursor != extensions_.end() || new_cursor != extensions.end()) { in Update()
459 extensions_ = extensions; in Update()
/external/chromium_org/chrome/browser/extensions/
Dextension_special_storage_policy.cc256 for (extensions::ExtensionSet::const_iterator iter = extensions_.begin(); in ExtensionsContaining()
257 iter != extensions_.end(); ++iter) { in ExtensionsContaining()
267 return extensions_.Contains(extension_id); in ContainsExtension()
273 return extensions_.Insert(extension); in Add()
279 return extensions_.Remove(extension->id()); in Remove()
284 extensions_.Clear(); in Clear()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dexternal_cache.cc61 extensions_ = prefs.Pass(); in UpdateExtensionsList()
63 if (extensions_->empty()) { in UpdateExtensionsList()
99 extensions_->Remove(id, NULL); in OnDamagedFileDetected()
118 extensions_->Remove(ids[i], NULL); in RemoveExtensions()
198 return extensions_->HasKey(id) && !cached_extensions_->HasKey(id); in IsExtensionPending()
232 for (base::DictionaryValue::Iterator it(*extensions_.get()); in CheckCache()
307 if (!extensions_->GetDictionary(id, &entry)) { in OnPutExtension()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_worker_unittest.cc64 return &extensions_; in extensions()
68 extensions_.Insert(make_scoped_refptr(extension)); in AddExtension()
73 return extensions_.GetByID(extension_id); in GetInstalledExtension()
78 return extensions_.Contains(extension_id) && in IsExtensionEnabled()
83 extensions_.Remove(extension_id); in UninstallExtension()
90 const extensions::Extension* extension = extensions_.GetByID(extension_id); in DisableExtension()
95 extensions::ExtensionSet extensions_; member in sync_file_system::drive_backend::MockExtensionService
/external/chromium_org/extensions/renderer/
Dscript_injection_manager.cc203 : extensions_(extensions), in ScriptInjectionManager()
290 extensions_->GetByID((*iter)->extension_id()), in InjectScripts()
312 extensions_->GetByID(injection->extension_id()), in InjectScripts()
351 extensions_->GetByID(injection->extension_id()), in HandleExecuteCode()
363 const Extension* extension = extensions_->GetByID(extension_id); in HandleExecuteDeclarativeScript()
402 if (injection->OnPermissionGranted(extensions_->GetByID( in HandlePermitScriptInjection()
Ddispatcher.cc202 user_script_set_manager_.reset(new UserScriptSetManager(&extensions_)); in Dispatcher()
204 new ScriptInjectionManager(&extensions_, user_script_set_manager_.get())); in Dispatcher()
221 CHECK(extensions_.Contains(extension_id)); in IsExtensionActive()
240 extension_id = extensions_.GetExtensionOrAppIDByURL(frame_url); in GetExtensionFromFrameAndWorld()
243 const Extension* extension = extensions_.GetByID(extension_id); in GetExtensionFromFrameAndWorld()
368 extensions_.GetExtensionOrAppByURL(effective_document_url); in DidCreateDocumentElement()
491 const Extension* extension = extensions_.GetByID(extension_id); in InvokeModuleSystemMethod()
735 const Extension* extension = extensions_.GetByID(*iter); in WebKitInitialized()
769 const Extension* extension = extensions_.GetByID(extension_id); in OnActivateExtension()
876 extensions_.Insert(extension); in OnLoadedInternal()
[all …]
Duser_script_set_manager.cc20 : static_scripts_(extensions), extensions_(extensions) { in UserScriptSetManager()
123 scripts = new UserScriptSet(extensions_); in OnUpdateUserScripts()
144 all_extensions = extensions_->GetIDs(); in OnUpdateUserScripts()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
Dpopuplib.js198 var extensions_ = ('extensions' in openidParams) ? openidParams.extensions : null;
230 if (extensions_ !== null) {
231 urlToOpen += keyValueConcat_(extensions_);
/external/chromium_org/gpu/command_buffer/service/
Dfeature_info.h109 return extensions_; in extensions()
138 std::string extensions_; variable

123