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

Unified Diff: content/common/bluetooth/bluetooth_device.cc

Issue 1926623002: bluetooth: Remove the device info and device class fields from BluetoothDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « content/common/bluetooth/bluetooth_device.h ('k') | content/common/bluetooth/bluetooth_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/bluetooth/bluetooth_device.cc
diff --git a/content/common/bluetooth/bluetooth_device.cc b/content/common/bluetooth/bluetooth_device.cc
index e89e0195a09392eb77d485320e3286cf448f0a6a..c2b3bcbf355dd36684e586926d3708890c2ba5c2 100644
--- a/content/common/bluetooth/bluetooth_device.cc
+++ b/content/common/bluetooth/bluetooth_device.cc
@@ -13,12 +13,6 @@ BluetoothDevice::BluetoothDevice()
name(base::string16()),
tx_power(device::BluetoothDevice::kUnknownPower),
rssi(device::BluetoothDevice::kUnknownPower),
- device_class(0),
- vendor_id_source(
- device::BluetoothDevice::VendorIDSource::VENDOR_ID_UNKNOWN),
- vendor_id(0),
- product_id(0),
- product_version(0),
uuids() {}
BluetoothDevice::BluetoothDevice(
@@ -26,21 +20,11 @@ BluetoothDevice::BluetoothDevice(
const base::string16& name,
int8_t tx_power,
int8_t rssi,
- uint32_t device_class,
- device::BluetoothDevice::VendorIDSource vendor_id_source,
- uint16_t vendor_id,
- uint16_t product_id,
- uint16_t product_version,
const std::vector<std::string>& uuids)
: id(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),
uuids(uuids) {}
BluetoothDevice::~BluetoothDevice() {
« no previous file with comments | « content/common/bluetooth/bluetooth_device.h ('k') | content/common/bluetooth/bluetooth_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698