Home
last modified time | relevance | path

Searched refs:api_resource_id (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/
Dapi_resource_manager.h124 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/
Dsocket_api.h41 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);
Dsocket_api.cc75 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/
Dserial_api.cc69 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()
Dserial_api.h34 SerialConnection* GetSerialConnection(int api_resource_id);
35 void RemoveSerialConnection(int api_resource_id);
/external/chromium_org/chrome/browser/extensions/api/usb/
Dusb_api.h44 void RemoveUsbDeviceResource(int api_resource_id);
Dusb_api.cc477 void UsbAsyncApiFunction::RemoveUsbDeviceResource(int api_resource_id) { in RemoveUsbDeviceResource() argument
478 manager_->Remove(extension_->id(), api_resource_id); in RemoveUsbDeviceResource()