| Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
|
| index f5402742c51a25319eaefd0b0add905ec646514e..6993ffd9e14db138b6537bb84e5dd689d50fb0de 100644
|
| --- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
|
| +++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
|
| @@ -186,7 +186,7 @@ device::BluetoothGattCharacteristic::Properties GetBluetoothProperties(
|
| device::BluetoothGattCharacteristic::PROPERTY_NONE;
|
|
|
| static_assert(
|
| - apibtle::CHARACTERISTIC_PROPERTY_LAST == 10,
|
| + apibtle::CHARACTERISTIC_PROPERTY_LAST == 14,
|
| "Update required if the number of characteristic properties changes.");
|
|
|
| if (HasProperty(api_properties, apibtle::CHARACTERISTIC_PROPERTY_BROADCAST))
|
| @@ -1317,6 +1317,23 @@ void BluetoothLowEnergyUnregisterServiceFunction::ErrorCallback(
|
| Respond(Error(StatusToString(status)));
|
| }
|
|
|
| +// notifyCharacteristicValueChanged:
|
| +
|
| +template class BLEPeripheralExtensionFunction<
|
| + apibtle::NotifyCharacteristicValueChanged::Params>;
|
| +
|
| +void BluetoothLowEnergyNotifyCharacteristicValueChangedFunction::DoWork() {
|
| + Respond(Error(kErrorPermissionDenied));
|
| +}
|
| +
|
| +// removeService:
|
| +
|
| +template class BLEPeripheralExtensionFunction<apibtle::RemoveService::Params>;
|
| +
|
| +void BluetoothLowEnergyRemoveServiceFunction::DoWork() {
|
| + Respond(Error(kErrorPermissionDenied));
|
| +}
|
| +
|
| // sendRequestResponse:
|
|
|
| template class BLEPeripheralExtensionFunction<
|
|
|