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 dd558e67991a5f61f9db46a217cfcb8a548586a1..9418ebdd985f850fb84a0466588ed3bf5689a594 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
@@ -206,6 +206,12 @@ void WebBluetoothServiceImpl::SetClientConnectionErrorHandler( |
binding_.set_connection_error_handler(closure); |
} |
+bool WebBluetoothServiceImpl::IsDevicePaired( |
+ const std::string& device_address) { |
+ return allowed_devices_map_.GetDeviceId(GetOrigin(), device_address) != |
+ nullptr; |
+} |
+ |
void WebBluetoothServiceImpl::DidFinishNavigation( |
NavigationHandle* navigation_handle) { |
if (navigation_handle->HasCommitted() && |