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

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.cc

Issue 2297383002: arc: bluetooth: Fix advertised uuid (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/bluetooth/arc_bluetooth_bridge.cc
diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.cc b/components/arc/bluetooth/arc_bluetooth_bridge.cc
index c99351ca7c12572ca20c2de756e4fbf2b3fb1ed0..d61d26f96d5ea195df162f65af9adbdf20ce2d91 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.cc
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.cc
@@ -1560,7 +1560,7 @@ ArcBluetoothBridge::GetAdvertisingData(BluetoothDevice* device) const {
advertising_data.push_back(std::move(local_name));
// ServiceUuid
- BluetoothDevice::UUIDList uuid_list = device->GetServiceDataUUIDs();
+ BluetoothDevice::UUIDList uuid_list = device->GetUUIDs();
if (uuid_list.size() > 0) {
mojom::BluetoothAdvertisingDataPtr service_uuids_16 =
mojom::BluetoothAdvertisingData::New();
@@ -1573,7 +1573,7 @@ ArcBluetoothBridge::GetAdvertisingData(BluetoothDevice* device) const {
}
// Service data
- for (auto& uuid : uuid_list) {
+ for (auto& uuid : device->GetServiceDataUUIDs()) {
base::BinaryValue* data = device->GetServiceData(uuid);
if (data->GetSize() == 0)
continue;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698