Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / proximity_auth / bluetooth_util_chromeos.cc
index 162ea63..86a0758 100644 (file)
@@ -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