| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| index f7de87318e95774744754e314ca8ee5de3dffe9c..8fef103f1ec53ec516ad048d1226023dc98134da 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
|
| @@ -33,6 +33,15 @@ BluetoothAttributeInstanceMap::getOrCreateBluetoothRemoteGATTService(
|
| return service;
|
| }
|
|
|
| +bool BluetoothAttributeInstanceMap::containsService(
|
| + const String& serviceInstanceId) {
|
| + return m_serviceIdToObject.contains(serviceInstanceId);
|
| +}
|
| +
|
| +void BluetoothAttributeInstanceMap::Clear() {
|
| + m_serviceIdToObject.clear();
|
| +}
|
| +
|
| DEFINE_TRACE(BluetoothAttributeInstanceMap) {
|
| visitor->trace(m_device);
|
| visitor->trace(m_serviceIdToObject);
|
|
|