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

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: Fix webexposed test Created 5 years, 2 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: content/renderer/bluetooth/bluetooth_dispatcher.cc
diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.cc b/content/renderer/bluetooth/bluetooth_dispatcher.cc
index 7a1c7d5ad4e82e56c5c79b2fb4caef3e56d03ccb..283f9ac1c4923626a41672e489bf93045a821d3b 100644
--- a/content/renderer/bluetooth/bluetooth_dispatcher.cc
+++ b/content/renderer/bluetooth/bluetooth_dispatcher.cc
@@ -551,9 +551,9 @@ void BluetoothDispatcher::OnRequestDeviceSuccess(
pending_requests_.Lookup(request_id)
->onSuccess(blink::adoptWebPtr(new WebBluetoothDevice(
WebString::fromUTF8(device.instance_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