Enumerate Bluetooth LE services and expose them to chrome.bluetooth API.
BUG=388016
[email protected]
Review URL: https://codereview.chromium.org/395633003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284374 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc
index e08bba09..6ca63535 100644
--- a/device/bluetooth/bluetooth_socket_win.cc
+++ b/device/bluetooth/bluetooth_socket_win.cc
@@ -118,11 +118,11 @@
return;
}
- device_address_ = service_record_win->address();
+ device_address_ = service_record_win->device_address();
if (service_record_win->SupportsRfcomm()) {
supports_rfcomm_ = true;
rfcomm_channel_ = service_record_win->rfcomm_channel();
- bth_addr_ = service_record_win->bth_addr();
+ bth_addr_ = service_record_win->device_bth_addr();
}
socket_thread()->task_runner()->PostTask(