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

Unified Diff: trunk/src/device/bluetooth/bluetooth_gatt_descriptor.cc

Issue 224763003: Revert 261566 "device/bluetooth: Rename device::bluetooth_utils:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/device/bluetooth/bluetooth_gatt_descriptor.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_gatt_descriptor.cc (revision 261569)
+++ trunk/src/device/bluetooth/bluetooth_gatt_descriptor.cc (working copy)
@@ -8,19 +8,21 @@
namespace device {
-const BluetoothUUID BluetoothGattDescriptor::
- kCharacteristicExtendedPropertiesUuid("2900");
-const BluetoothUUID BluetoothGattDescriptor::
- kCharacteristicUserDescriptionUuid("2901");
-const BluetoothUUID BluetoothGattDescriptor::
- kClientCharacteristicConfigurationUuid("2902");
-const BluetoothUUID BluetoothGattDescriptor::
- kServerCharacteristicConfigurationUuid("2903");
-const BluetoothUUID BluetoothGattDescriptor::
- kCharacteristicPresentationFormatUuid("2904");
-const BluetoothUUID BluetoothGattDescriptor::
- kCharacteristicAggregateFormatUuid("2905");
+using bluetooth_utils::UUID;
+const UUID BluetoothGattDescriptor::
+ kCharacteristicExtendedPropertiesUuid("0x2900");
+const UUID BluetoothGattDescriptor::
+ kCharacteristicUserDescriptionUuid("0x2901");
+const UUID BluetoothGattDescriptor::
+ kClientCharacteristicConfigurationUuid("0x2902");
+const UUID BluetoothGattDescriptor::
+ kServerCharacteristicConfigurationUuid("0x2903");
+const UUID BluetoothGattDescriptor::
+ kCharacteristicPresentationFormatUuid("0x2904");
+const UUID BluetoothGattDescriptor::
+ kCharacteristicAggregateFormatUuid("0x2905");
+
BluetoothGattDescriptor::BluetoothGattDescriptor() {
}
@@ -29,7 +31,7 @@
// static
BluetoothGattDescriptor* BluetoothGattDescriptor::Create(
- const BluetoothUUID& uuid,
+ const bluetooth_utils::UUID& uuid,
const std::vector<uint8>& value) {
LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "
<< "supported.";
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_gatt_descriptor.h ('k') | trunk/src/device/bluetooth/bluetooth_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698