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

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

Issue 681193002: Fix typos in device/bluetooth headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_CHARACTERISTIC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_CHARACTERISTIC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_GATT_CHARACTERISTIC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_GATT_CHARACTERISTIC_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "device/bluetooth/bluetooth_gatt_service.h" 14 #include "device/bluetooth/bluetooth_gatt_service.h"
15 #include "device/bluetooth/bluetooth_uuid.h" 15 #include "device/bluetooth/bluetooth_uuid.h"
16 16
17 namespace device { 17 namespace device {
18 18
19 class BluetoothGattDescriptor; 19 class BluetoothGattDescriptor;
20 class BluetoothGattNotifySession; 20 class BluetoothGattNotifySession;
21 21
22 // BluetoothGattCharacteristic represents a local or remote GATT characteristic. 22 // BluetoothGattCharacteristic represents a local or remote GATT characteristic.
23 // A GATT characteristic is a basic data element used to construct a GATT 23 // A GATT characteristic is a basic data element used to construct a GATT
24 // service. Hence, instances of a BluetoothGattCharacteristic are associated 24 // service. Hence, instances of a BluetoothGattCharacteristic are associated
25 // with a BluetoothGattService. There are two ways in which this class is used: 25 // with a BluetoothGattService. There are two ways in which this class is used:
26 // 26 //
27 // 1. To represent GATT characteristics that belong to a service hosted by a 27 // 1. To represent GATT characteristics that belong to a service hosted by a
28 // a remote device. In this case the characteristic will be constructed by 28 // remote device. In this case the characteristic will be constructed by
29 // the subsystem. 29 // the subsystem.
30 // 2. To represent GATT characteristics that belong to a locally hosted 30 // 2. To represent GATT characteristics that belong to a locally hosted
31 // service. To achieve this, users can construct instances of 31 // service. To achieve this, users can construct instances of
32 // BluetoothGattCharacteristic directly and add it to the desired 32 // BluetoothGattCharacteristic directly and add it to the desired
33 // BluetoothGattService instance that represents a local service. 33 // BluetoothGattService instance that represents a local service.
34 class BluetoothGattCharacteristic { 34 class BluetoothGattCharacteristic {
35 public: 35 public:
36 // TODO(jamuraa): per chromium.org/developers/coding-style these should 36 // TODO(jamuraa): per chromium.org/developers/coding-style these should
37 // be MACRO_STYLE instead of kCamelCase. (crbug.com/418696) 37 // be MACRO_STYLE instead of kCamelCase. (crbug.com/418696)
38 38
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 BluetoothGattCharacteristic(); 205 BluetoothGattCharacteristic();
206 virtual ~BluetoothGattCharacteristic(); 206 virtual ~BluetoothGattCharacteristic();
207 207
208 private: 208 private:
209 DISALLOW_COPY_AND_ASSIGN(BluetoothGattCharacteristic); 209 DISALLOW_COPY_AND_ASSIGN(BluetoothGattCharacteristic);
210 }; 210 };
211 211
212 } // namespace device 212 } // namespace device
213 213
214 #endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_CHARACTERISTIC_H_ 214 #endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_CHARACTERISTIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698