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

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

Issue 778443002: bluetooth: Make device/bluetooth a shared library component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Set DelayLoadDLL settings on shared library as well Created 6 years 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
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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "device/bluetooth/bluetooth_export.h"
12 #include "device/bluetooth/bluetooth_gatt_characteristic.h" 13 #include "device/bluetooth/bluetooth_gatt_characteristic.h"
13 #include "device/bluetooth/bluetooth_uuid.h" 14 #include "device/bluetooth/bluetooth_uuid.h"
14 15
15 namespace device { 16 namespace device {
16 17
17 // BluetoothGattDescriptor represents a local or remote GATT characteristic 18 // BluetoothGattDescriptor represents a local or remote GATT characteristic
18 // descriptor. A GATT characteristic descriptor provides further information 19 // descriptor. A GATT characteristic descriptor provides further information
19 // about a characteristic's value. They can be used to describe the 20 // about a characteristic's value. They can be used to describe the
20 // characteristic's features or to control certain behaviors. 21 // characteristic's features or to control certain behaviors.
21 class BluetoothGattDescriptor { 22 class DEVICE_BLUETOOTH_EXPORT BluetoothGattDescriptor {
22 public: 23 public:
23 // The Bluetooth Specification declares several predefined descriptors that 24 // The Bluetooth Specification declares several predefined descriptors that
24 // profiles can use. The following are definitions for the list of UUIDs 25 // profiles can use. The following are definitions for the list of UUIDs
25 // and descriptions of the characteristic descriptors that they represent. 26 // and descriptions of the characteristic descriptors that they represent.
26 // Possible values for and further information on each descriptor can be found 27 // Possible values for and further information on each descriptor can be found
27 // in Core v4.0, Volume 3, Part G, Section 3.3.3. All of these descriptors are 28 // in Core v4.0, Volume 3, Part G, Section 3.3.3. All of these descriptors are
28 // optional and may not be present for a given characteristic. 29 // optional and may not be present for a given characteristic.
29 30
30 // The "Characteristic Extended Properties" descriptor. This defines 31 // The "Characteristic Extended Properties" descriptor. This defines
31 // additional "Characteristic Properties" which cannot fit into the allocated 32 // additional "Characteristic Properties" which cannot fit into the allocated
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 BluetoothGattDescriptor(); 182 BluetoothGattDescriptor();
182 virtual ~BluetoothGattDescriptor(); 183 virtual ~BluetoothGattDescriptor();
183 184
184 private: 185 private:
185 DISALLOW_COPY_AND_ASSIGN(BluetoothGattDescriptor); 186 DISALLOW_COPY_AND_ASSIGN(BluetoothGattDescriptor);
186 }; 187 };
187 188
188 } // namespace device 189 } // namespace device
189 190
190 #endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_ 191 #endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_gatt_connection.h ('k') | device/bluetooth/bluetooth_gatt_notify_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698