Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: device/bluetooth/bluetooth_low_energy_win.cc

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698