Searched refs:api_resource_id (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/chrome/browser/extensions/api/ |
D | api_resource_manager.h | 124 void Remove(const std::string& extension_id, int api_resource_id) { in Remove() argument 125 data_->Remove(extension_id, api_resource_id); in Remove() 128 T* Get(const std::string& extension_id, int api_resource_id) { in Get() argument 129 return data_->Get(extension_id, api_resource_id); in Get() 202 void Remove(const std::string& extension_id, int api_resource_id) { in Remove() argument 204 if (GetOwnedResource(extension_id, api_resource_id) != NULL) { in Remove() 207 extension_resource_map_[extension_id].erase(api_resource_id); in Remove() 208 api_resource_map_.erase(api_resource_id); in Remove() 212 T* Get(const std::string& extension_id, int api_resource_id) { in Get() argument 214 return GetOwnedResource(extension_id, api_resource_id); in Get() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/socket/ |
D | socket_api.h | 41 int api_resource_id) = 0; 43 int api_resource_id) = 0; 72 int api_resource_id) OVERRIDE { in Get() argument 73 return manager_->Get(extension_id, api_resource_id); in Get() 77 int api_resource_id) OVERRIDE { in Remove() argument 78 manager_->Remove(extension_id, api_resource_id); in Remove() 105 Socket* GetSocket(int api_resource_id); 106 void RemoveSocket(int api_resource_id);
|
D | socket_api.cc | 75 Socket* SocketAsyncApiFunction::GetSocket(int api_resource_id) { in GetSocket() argument 76 return manager_->Get(extension_->id(), api_resource_id); in GetSocket() 83 void SocketAsyncApiFunction::RemoveSocket(int api_resource_id) { in RemoveSocket() argument 84 manager_->Remove(extension_->id(), api_resource_id); in RemoveSocket()
|
/external/chromium_org/chrome/browser/extensions/api/serial/ |
D | serial_api.cc | 69 int api_resource_id) { in GetSerialConnection() argument 70 return manager_->Get(extension_->id(), api_resource_id); in GetSerialConnection() 73 void SerialAsyncApiFunction::RemoveSerialConnection(int api_resource_id) { in RemoveSerialConnection() argument 74 manager_->Remove(extension_->id(), api_resource_id); in RemoveSerialConnection()
|
D | serial_api.h | 34 SerialConnection* GetSerialConnection(int api_resource_id); 35 void RemoveSerialConnection(int api_resource_id);
|
/external/chromium_org/chrome/browser/extensions/api/usb/ |
D | usb_api.h | 44 void RemoveUsbDeviceResource(int api_resource_id);
|
D | usb_api.cc | 477 void UsbAsyncApiFunction::RemoveUsbDeviceResource(int api_resource_id) { in RemoveUsbDeviceResource() argument 478 manager_->Remove(extension_->id(), api_resource_id); in RemoveUsbDeviceResource()
|