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

Side by Side Diff: device/bluetooth/bluetooth_gatt_descriptor.cc

Issue 220323004: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/bluetooth_gatt_descriptor.h" 5 #include "device/bluetooth/bluetooth_gatt_descriptor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace device { 9 namespace device {
10 10
11 using bluetooth_utils::UUID; 11 const BluetoothUUID BluetoothGattDescriptor::
12
13 const UUID BluetoothGattDescriptor::
14 kCharacteristicExtendedPropertiesUuid("0x2900"); 12 kCharacteristicExtendedPropertiesUuid("0x2900");
15 const UUID BluetoothGattDescriptor:: 13 const BluetoothUUID BluetoothGattDescriptor::
16 kCharacteristicUserDescriptionUuid("0x2901"); 14 kCharacteristicUserDescriptionUuid("0x2901");
17 const UUID BluetoothGattDescriptor:: 15 const BluetoothUUID BluetoothGattDescriptor::
18 kClientCharacteristicConfigurationUuid("0x2902"); 16 kClientCharacteristicConfigurationUuid("0x2902");
19 const UUID BluetoothGattDescriptor:: 17 const BluetoothUUID BluetoothGattDescriptor::
20 kServerCharacteristicConfigurationUuid("0x2903"); 18 kServerCharacteristicConfigurationUuid("0x2903");
21 const UUID BluetoothGattDescriptor:: 19 const BluetoothUUID BluetoothGattDescriptor::
22 kCharacteristicPresentationFormatUuid("0x2904"); 20 kCharacteristicPresentationFormatUuid("0x2904");
23 const UUID BluetoothGattDescriptor:: 21 const BluetoothUUID BluetoothGattDescriptor::
24 kCharacteristicAggregateFormatUuid("0x2905"); 22 kCharacteristicAggregateFormatUuid("0x2905");
25 23
26 BluetoothGattDescriptor::BluetoothGattDescriptor() { 24 BluetoothGattDescriptor::BluetoothGattDescriptor() {
27 } 25 }
28 26
29 BluetoothGattDescriptor::~BluetoothGattDescriptor() { 27 BluetoothGattDescriptor::~BluetoothGattDescriptor() {
30 } 28 }
31 29
32 // static 30 // static
33 BluetoothGattDescriptor* BluetoothGattDescriptor::Create( 31 BluetoothGattDescriptor* BluetoothGattDescriptor::Create(
34 const bluetooth_utils::UUID& uuid, 32 const BluetoothUUID& uuid,
35 const std::vector<uint8>& value) { 33 const std::vector<uint8>& value) {
36 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not " 34 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "
37 << "supported."; 35 << "supported.";
38 return NULL; 36 return NULL;
39 } 37 }
40 38
41 } // namespace device 39 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698