Index: content/common/bluetooth/bluetooth_device.cc |
diff --git a/content/common/bluetooth/bluetooth_device.cc b/content/common/bluetooth/bluetooth_device.cc |
index ee9a087291d40719a362a47001c1b6c837eb6b7e..16bdceff36b02a14920a9965f39c97a1ce5bb8f9 100644 |
--- a/content/common/bluetooth/bluetooth_device.cc |
+++ b/content/common/bluetooth/bluetooth_device.cc |
@@ -11,6 +11,8 @@ namespace content { |
BluetoothDevice::BluetoothDevice() |
: instance_id(""), |
name(base::string16()), |
+ tx_power(device::BluetoothDevice::kUnknownPower), |
+ rssi(device::BluetoothDevice::kUnknownPower), |
device_class(0), |
vendor_id_source( |
device::BluetoothDevice::VendorIDSource::VENDOR_ID_UNKNOWN), |
@@ -18,12 +20,13 @@ BluetoothDevice::BluetoothDevice() |
product_id(0), |
product_version(0), |
paired(false), |
- uuids() { |
-} |
+ uuids() {} |
BluetoothDevice::BluetoothDevice( |
const std::string& instance_id, |
const base::string16& name, |
+ int tx_power, |
+ int rssi, |
uint32 device_class, |
device::BluetoothDevice::VendorIDSource vendor_id_source, |
uint16 vendor_id, |
@@ -33,14 +36,15 @@ BluetoothDevice::BluetoothDevice( |
const std::vector<std::string>& uuids) |
: instance_id(instance_id), |
name(name), |
+ tx_power(tx_power), |
+ rssi(rssi), |
device_class(device_class), |
vendor_id_source(vendor_id_source), |
vendor_id(vendor_id), |
product_id(product_id), |
product_version(product_version), |
paired(paired), |
- uuids(uuids) { |
-} |
+ uuids(uuids) {} |
BluetoothDevice::~BluetoothDevice() { |
} |