Home
last modified time | relevance | path

Searched refs:extension_handle (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/python/google/protobuf/
Dreflection.py214 def _VerifyExtensionHandle(message, extension_handle): argument
217 if not isinstance(extension_handle, _FieldDescriptor):
219 extension_handle)
221 if not extension_handle.is_extension:
222 raise KeyError('"%s" is not an extension.' % extension_handle.full_name)
224 if extension_handle.containing_type is not message.DESCRIPTOR:
227 (extension_handle.full_name,
228 extension_handle.containing_type.full_name,
580 def RegisterExtension(extension_handle): argument
581 extension_handle.containing_type = cls.DESCRIPTOR
[all …]
Dmessage.py223 def HasExtension(self, extension_handle): argument
226 def ClearExtension(self, extension_handle): argument
/external/chromium/chrome/browser/automation/
Dautomation_provider.h258 void UninstallExtension(int extension_handle,
261 void ReloadExtension(int extension_handle,
264 void EnableExtension(int extension_handle,
267 void DisableExtension(int extension_handle,
270 void ExecuteExtensionActionInActiveTabAsync(int extension_handle,
274 void MoveExtensionBrowserAction(int extension_handle, int index,
277 void GetExtensionProperty(int extension_handle,
305 const Extension* GetExtension(int extension_handle);
309 const Extension* GetEnabledExtension(int extension_handle);
313 const Extension* GetDisabledExtension(int extension_handle);
Dautomation_provider.cc271 const Extension* AutomationProvider::GetExtension(int extension_handle) { in GetExtension() argument
272 return extension_tracker_->GetResource(extension_handle); in GetExtension()
275 const Extension* AutomationProvider::GetEnabledExtension(int extension_handle) { in GetEnabledExtension() argument
277 extension_tracker_->GetResource(extension_handle); in GetEnabledExtension()
286 int extension_handle) { in GetDisabledExtension() argument
288 extension_tracker_->GetResource(extension_handle); in GetDisabledExtension()
817 void AutomationProvider::UninstallExtension(int extension_handle, in UninstallExtension() argument
820 const Extension* extension = GetExtension(extension_handle); in UninstallExtension()
831 void AutomationProvider::EnableExtension(int extension_handle, in EnableExtension() argument
833 const Extension* extension = GetDisabledExtension(extension_handle); in EnableExtension()
[all …]
Dautomation_provider_observers.cc619 int extension_handle = 0; in Observe() local
621 extension_handle = automation_->AddExtension(extension_); in Observe()
623 reply_message_.get(), extension_handle); in Observe()
/external/chromium/net/tools/testserver/
Dchromiumsync.py145 extension_handle = SYNC_TYPE_TO_EXTENSION[data_type]
146 specifics.Extensions[extension_handle].SetInParent()