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

Unified Diff: trunk/src/device/bluetooth/bluetooth_low_energy_win.cc

Issue 388453003: Revert 282286 "Expose "visible" and "authenticated" properties." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/device/bluetooth/bluetooth_low_energy_win.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_low_energy_win.cc (revision 282293)
+++ trunk/src/device/bluetooth/bluetooth_low_energy_win.cc (working copy)
@@ -322,11 +322,6 @@
}
device_info->connected = !(value->AsUint32() & DN_DEVICE_DISCONNECTED);
- // Windows 8 exposes BLE devices only if they are visible and paired. This
- // might change in the future if Windows offers a public API for discovering
- // and pairing BLE devices.
- device_info->visible = true;
- device_info->authenticated = true;
return true;
}
@@ -524,7 +519,7 @@
}
BluetoothLowEnergyDeviceInfo::BluetoothLowEnergyDeviceInfo()
- : visible(false), authenticated(false), connected(false) {
+ : connected(false) {
address.ullLong = BLUETOOTH_NULL_ADDRESS;
}
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_low_energy_win.h ('k') | trunk/src/device/bluetooth/bluetooth_task_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698