Index: content/browser/bluetooth/web_bluetooth_service_impl.cc |
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
index 5adce0eeaf41874eec81f3bf15c7b6341768c44f..e687c50d7cb8203588f7ca2cb73dfa55aab9af18 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
@@ -212,6 +212,15 @@ void WebBluetoothServiceImpl::AdapterPoweredChanged( |
} |
} |
+void WebBluetoothServiceImpl::AdapterDiscoveringChanged( |
+ device::BluetoothAdapter* adapter, |
+ bool discovering) { |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
+ if (device_chooser_controller_.get()) { |
+ device_chooser_controller_->AdapterDiscoveringChanged(discovering); |
+ } |
+} |
+ |
void WebBluetoothServiceImpl::DeviceAdded(device::BluetoothAdapter* adapter, |
device::BluetoothDevice* device) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |