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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h

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 | « third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
index 771f94b5391afa855ad4ebf306e26145df676980..2c2dfccc5b2f343c2b98f3b4d2a1f4516901513c 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
@@ -12,31 +12,15 @@ namespace blink {
// Information describing a Bluetooth device provided by the platform.
struct WebBluetoothDevice {
- enum class VendorIDSource {
- Unknown,
- Bluetooth,
- USB
- };
-
WebBluetoothDevice(const WebString& id,
const WebString& name,
int8_t txPower,
int8_t rssi,
- int32_t deviceClass,
- VendorIDSource vendorIDSource,
- uint16_t vendorID,
- uint16_t productID,
- uint16_t productVersion,
const WebVector<WebString>& uuids)
: id(id)
, name(name)
, txPower(txPower)
, rssi(rssi)
- , deviceClass(deviceClass)
- , vendorIDSource(vendorIDSource)
- , vendorID(vendorID)
- , productID(productID)
- , productVersion(productVersion)
, uuids(uuids)
{
}
@@ -48,11 +32,6 @@ struct WebBluetoothDevice {
// A value of 127 denotes an invalid power.
const int8_t txPower;
const int8_t rssi;
- const int32_t deviceClass;
- const VendorIDSource vendorIDSource;
- const uint16_t vendorID;
- const uint16_t productID;
- const uint16_t productVersion;
const WebVector<WebString> uuids;
};
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698