Index: device/bluetooth/bluetooth_adapter.cc |
diff --git a/device/bluetooth/bluetooth_adapter.cc b/device/bluetooth/bluetooth_adapter.cc |
index 390bb939520c47f177598c7615ae7dcb395fb076..dea3593ff1e0d53d1668b49c16b38e246f4bf3f5 100644 |
--- a/device/bluetooth/bluetooth_adapter.cc |
+++ b/device/bluetooth/bluetooth_adapter.cc |
@@ -158,6 +158,11 @@ BluetoothDevice::PairingDelegate* BluetoothAdapter::DefaultPairingDelegate() { |
return pairing_delegates_.front().first; |
} |
+void BluetoothAdapter::NotifyAdapterStateChanged(bool powered) { |
+ FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_, |
+ AdapterPoweredChanged(this, powered)); |
+} |
+ |
void BluetoothAdapter::NotifyGattServiceAdded(BluetoothGattService* service) { |
DCHECK_EQ(service->GetDevice()->GetAdapter(), this); |