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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2394473005: Move enum BluetoothDevice::DeviceType out of BluetoothDevice class. (Closed)
Patch Set: 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
« no previous file with comments | « device/bluetooth/bluetooth_common.h ('k') | device/bluetooth/bluetooth_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index a4cabdf6891e7348cf450c0a853bb3fb448002bc..0cbc46da136ae6aba01c710ac14532f0add22958 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -60,26 +60,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.
@@ -269,7 +249,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.
« no previous file with comments | « device/bluetooth/bluetooth_common.h ('k') | device/bluetooth/bluetooth_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698