#include "third_party/blink/renderer/modules/bluetooth/bluetooth_attribute_instance_map.h"
#include <memory>
#include <utility>
#include "third_party/blink/renderer/modules/bluetooth/bluetooth_device.h"
#include "third_party/blink/renderer/modules/bluetooth/bluetooth_remote_gatt_service.h"
namespace blink {
BluetoothAttributeInstanceMap::BluetoothAttributeInstanceMap(
BluetoothDevice* device)
: … { … }
BluetoothRemoteGATTService*
BluetoothAttributeInstanceMap::GetOrCreateRemoteGATTService(
mojom::blink::WebBluetoothRemoteGATTServicePtr remote_gatt_service,
bool is_primary,
const String& device_instance_id) { … }
bool BluetoothAttributeInstanceMap::ContainsService(
const String& service_instance_id) { … }
BluetoothRemoteGATTCharacteristic*
BluetoothAttributeInstanceMap::GetOrCreateRemoteGATTCharacteristic(
ExecutionContext* context,
mojom::blink::WebBluetoothRemoteGATTCharacteristicPtr
remote_gatt_characteristic,
BluetoothRemoteGATTService* service) { … }
bool BluetoothAttributeInstanceMap::ContainsCharacteristic(
const String& characteristic_instance_id) { … }
BluetoothRemoteGATTDescriptor*
BluetoothAttributeInstanceMap::GetOrCreateBluetoothRemoteGATTDescriptor(
mojom::blink::WebBluetoothRemoteGATTDescriptorPtr remote_gatt_descriptor,
BluetoothRemoteGATTCharacteristic* characteristic) { … }
bool BluetoothAttributeInstanceMap::ContainsDescriptor(
const String& descriptor_instance_id) { … }
void BluetoothAttributeInstanceMap::Clear() { … }
void BluetoothAttributeInstanceMap::Trace(Visitor* visitor) const { … }
}