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

Unified Diff: device/bluetooth/bluetooth_device.cc

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (Closed)
Patch Set: Created 4 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: device/bluetooth/bluetooth_device.cc
diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
index ee4aca5277565d6dcb79c99e278ebf40e1c95b58..c87ff92e4e8ca5efe15b233e87229d853d8f54eb 100644
--- a/device/bluetooth/bluetooth_device.cc
+++ b/device/bluetooth/bluetooth_device.cc
@@ -312,6 +312,11 @@ const std::vector<uint8_t>* BluetoothDevice::GetServiceDataForUUID(
return nullptr;
}
+std::unordered_map<uint16_t, std::vector<uint8_t>>
+BluetoothDevice::GetManufacturerData() const {
+ return std::unordered_map<uint16_t, std::vector<uint8_t>>();
+}
+
base::Optional<int8_t> BluetoothDevice::GetInquiryRSSI() const {
return inquiry_rssi_;
}
@@ -320,6 +325,10 @@ base::Optional<int8_t> BluetoothDevice::GetInquiryTxPower() const {
return inquiry_tx_power_;
}
+base::Optional<uint8_t> BluetoothDevice::GetFlags() const {
+ return base::nullopt;
+}
+
void BluetoothDevice::CreateGattConnection(
const GattConnectionCallback& callback,
const ConnectErrorCallback& error_callback) {

Powered by Google App Engine
This is Rietveld 408576698