Index: content/common/bluetooth/bluetooth_device.cc |
diff --git a/content/common/bluetooth/bluetooth_device.cc b/content/common/bluetooth/bluetooth_device.cc |
index c2b3bcbf355dd36684e586926d3708890c2ba5c2..4b07d329f4d7b54ee2c72b762fad03af277b469e 100644 |
--- a/content/common/bluetooth/bluetooth_device.cc |
+++ b/content/common/bluetooth/bluetooth_device.cc |
@@ -11,20 +11,14 @@ namespace content { |
BluetoothDevice::BluetoothDevice() |
: id(""), |
name(base::string16()), |
- tx_power(device::BluetoothDevice::kUnknownPower), |
- rssi(device::BluetoothDevice::kUnknownPower), |
uuids() {} |
BluetoothDevice::BluetoothDevice( |
const std::string& id, |
const base::string16& name, |
- int8_t tx_power, |
- int8_t rssi, |
const std::vector<std::string>& uuids) |
: id(id), |
name(name), |
- tx_power(tx_power), |
- rssi(rssi), |
uuids(uuids) {} |
BluetoothDevice::~BluetoothDevice() { |
@@ -40,10 +34,4 @@ std::vector<std::string> BluetoothDevice::UUIDsFromBluetoothUUIDs( |
return uuids; |
} |
-// static |
-int8_t BluetoothDevice::ValidatePower(int16_t power) { |
- return ((power < -127) || (power > 127)) ? BluetoothDevice::kUnknownPower |
- : power; |
-} |
- |
} // namespace content |