Index: components/proximity_auth/bluetooth_util_chromeos.cc |
diff --git a/components/proximity_auth/bluetooth_util_chromeos.cc b/components/proximity_auth/bluetooth_util_chromeos.cc |
index 162ea639f94e32159240173e94336aab361e3132..86a0758fc913580f2287e14bcca444c9a842cb59 100644 |
--- a/components/proximity_auth/bluetooth_util_chromeos.cc |
+++ b/components/proximity_auth/bluetooth_util_chromeos.cc |
@@ -21,7 +21,6 @@ |
#include "base/threading/sequenced_worker_pool.h" |
#include "base/time/time.h" |
#include "device/bluetooth/bluetooth_device.h" |
-#include "device/bluetooth/bluetooth_device_chromeos.h" |
#include "net/socket/socket_descriptor.h" |
// The bluez headers are (intentionally) not available within the Chromium |
@@ -156,14 +155,5 @@ void SeekDeviceByAddress(const std::string& device_address, |
base::Bind(&OnSeekDeviceResult, callback, error_callback)); |
} |
-void ConnectToServiceInsecurely( |
- device::BluetoothDevice* device, |
- const device::BluetoothUUID& uuid, |
- const BluetoothDevice::ConnectToServiceCallback& callback, |
- const BluetoothDevice::ConnectToServiceErrorCallback& error_callback) { |
- static_cast<chromeos::BluetoothDeviceChromeOS*>(device) |
- ->ConnectToServiceInsecurely(uuid, callback, error_callback); |
-} |
- |
} // namespace bluetooth_util |
} // namespace proximity_auth |