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

Unified Diff: device/bluetooth/bluetooth_common.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
Index: device/bluetooth/bluetooth_common.h
diff --git a/device/bluetooth/bluetooth_common.h b/device/bluetooth/bluetooth_common.h
index ae4e13bf06ee54e8160ee2ae4b361404d8f63180..6045980f9b4349f38942fb37021a163bfd6fd5a6 100644
--- a/device/bluetooth/bluetooth_common.h
+++ b/device/bluetooth/bluetooth_common.h
@@ -24,6 +24,26 @@ enum BluetoothTransport : uint8_t {
(BLUETOOTH_TRANSPORT_CLASSIC | BLUETOOTH_TRANSPORT_LE)
};
+// Possible values that may be returned by BluetoothDevice::GetDeviceType(),
+// representing different types of bluetooth device that we support or are aware
+// of decoded from the bluetooth class information.
+enum class BluetoothDeviceType {
+ UNKNOWN,
+ COMPUTER,
+ PHONE,
+ MODEM,
+ AUDIO,
+ CAR_AUDIO,
+ VIDEO,
+ PERIPHERAL,
+ JOYSTICK,
+ GAMEPAD,
+ KEYBOARD,
+ MOUSE,
+ TABLET,
+ KEYBOARD_MOUSE_COMBO
+};
+
} // namespace device
#endif // DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_
« no previous file with comments | « components/proximity_auth/bluetooth_connection_finder_unittest.cc ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698