| Index: device/bluetooth/bluetooth_low_energy_win.cc
|
| diff --git a/device/bluetooth/bluetooth_low_energy_win.cc b/device/bluetooth/bluetooth_low_energy_win.cc
|
| index ebac47d0cdf2a7c7df2b029d2f9eb34cb43fa554..425f114c236af92aceff4794b97d5035d0abcc6e 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_win.cc
|
| +++ b/device/bluetooth/bluetooth_low_energy_win.cc
|
| @@ -522,20 +522,6 @@ HRESULT OpenBluetoothLowEnergyDevices(ScopedDeviceInfoSetHandle* handle) {
|
| return S_OK;
|
| }
|
|
|
| -// Opens a Device Info Set that can be used to enumerate Bluetooth LE devices
|
| -// exposing a service GUID.
|
| -HRESULT OpenBluetoothLowEnergyService(const GUID& service_guid,
|
| - ScopedDeviceInfoSetHandle* handle) {
|
| - ScopedDeviceInfoSetHandle result(SetupDiGetClassDevs(
|
| - &service_guid, NULL, NULL, DIGCF_PRESENT | DIGCF_DEVICEINTERFACE));
|
| - if (!result.IsValid()) {
|
| - return HRESULT_FROM_WIN32(::GetLastError());
|
| - }
|
| -
|
| - (*handle) = result.Pass();
|
| - return S_OK;
|
| -}
|
| -
|
| } // namespace
|
|
|
| namespace device {
|
|
|