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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2381493005: Add bluetooth device type icons on MD system tray. (Closed)
Patch Set: Move BluetoothDeviceType to device/bluetooth/bluetooth_common.h 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.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index b2dfdedce2c0040286c69cac587ad5dff39d2137..35e8a92964c0e10d2d5b5083666327fe8d9d7bf2 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -61,26 +61,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
VENDOR_ID_MAX_VALUE = VENDOR_ID_USB
};
- // Possible values that may be returned by GetDeviceType(), representing
- // different types of bluetooth device that we support or are aware of
- // decoded from the bluetooth class information.
- enum DeviceType {
- DEVICE_UNKNOWN,
- DEVICE_COMPUTER,
- DEVICE_PHONE,
- DEVICE_MODEM,
- DEVICE_AUDIO,
- DEVICE_CAR_AUDIO,
- DEVICE_VIDEO,
- DEVICE_PERIPHERAL,
- DEVICE_JOYSTICK,
- DEVICE_GAMEPAD,
- DEVICE_KEYBOARD,
- DEVICE_MOUSE,
- DEVICE_TABLET,
- DEVICE_KEYBOARD_MOUSE_COMBO
- };
-
// The value returned if the RSSI or transmit power cannot be read.
static const int kUnknownPower = 127;
// The value returned if the appearance is not present.
@@ -270,7 +250,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
// of, by decoding the bluetooth class information for Classic devices or
// by decoding the device's appearance for LE devices. For example,
// Microsoft Universal Foldable Keyboard only advertises the appearance.
- DeviceType GetDeviceType() const;
+ BluetoothDeviceType GetDeviceType() const;
// Indicates whether the device is known to support pairing based on its
// device class and address.

Powered by Google App Engine
This is Rietveld 408576698