| Index: content/browser/bluetooth/bluetooth_dispatcher_host.cc
|
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
|
| index 81ba1896929f39605fd05f3a0d9497c73e0873ef..22ad2c63fd955f1db5bb3032a2cc1020f01c2ff4 100644
|
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc
|
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc
|
| @@ -792,6 +792,16 @@ void BluetoothDispatcherHost::OnGetCharacteristic(
|
| RecordWebBluetoothFunctionCall(UMAWebBluetoothFunction::GET_CHARACTERISTIC);
|
| RecordGetCharacteristicCharacteristic(characteristic_uuid);
|
|
|
| + // Check Blacklist for characteristic_uuid.
|
| + if (BluetoothBlacklist::Get().IsExcluded(
|
| + BluetoothUUID(characteristic_uuid))) {
|
| + RecordGetCharacteristicOutcome(UMAGetCharacteristicOutcome::BLACKLISTED);
|
| + Send(new BluetoothMsg_GetCharacteristicError(
|
| + thread_id, request_id,
|
| + WebBluetoothError::BlacklistedCharacteristicUUID));
|
| + return;
|
| + }
|
| +
|
| const CacheQueryResult query_result =
|
| QueryCacheForService(GetOrigin(frame_routing_id), service_instance_id);
|
|
|
|
|