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

Unified Diff: content/renderer/bluetooth/bluetooth_dispatcher.cc

Issue 1427653003: bluetooth: Implement TxPower and RSSI of BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Change PowerValueAdapter to int8_t Created 5 years, 1 month 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: content/renderer/bluetooth/bluetooth_dispatcher.cc
diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.cc b/content/renderer/bluetooth/bluetooth_dispatcher.cc
index 18284d89ce08c006c96388178ca08ae1ccb9b9a2..f7dc8d7859bf0f6833ec56fa70f745074d21e626 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.cc
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.cc
@@ -549,9 +549,9 @@ void BluetoothDispatcher::OnRequestDeviceSuccess(
pending_requests_.Lookup(request_id)
->onSuccess(blink::adoptWebPtr(new WebBluetoothDevice(
WebString::fromUTF8(device.id), WebString(device.name),
- device.device_class, GetWebVendorIdSource(device.vendor_id_source),
- device.vendor_id, device.product_id, device.product_version,
- device.paired, uuids)));
+ device.tx_power, device.rssi, device.device_class,
+ GetWebVendorIdSource(device.vendor_id_source), device.vendor_id,
+ device.product_id, device.product_version, device.paired, uuids)));
pending_requests_.Remove(request_id);
}

Powered by Google App Engine
This is Rietveld 408576698