| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTE_GATT_SERVICE_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "device/bluetooth/bluetooth_export.h" | 12 #include "device/bluetooth/bluetooth_export.h" |
| 13 #include "device/bluetooth/bluetooth_gatt_service.h" | 13 #include "device/bluetooth/bluetooth_gatt_service.h" |
| 14 | 14 |
| 15 namespace device { | 15 namespace device { |
| 16 | 16 |
| 17 class BluetoothDevice; | 17 class BluetoothDevice; |
| 18 class BluetoothRemoteGattCharacteristic; | 18 class BluetoothRemoteGattCharacteristic; |
| 19 class BluetoothRemoteGattDescriptor; | |
| 20 | 19 |
| 21 // BluetoothRemoteGattService represents a remote GATT service. | 20 // BluetoothRemoteGattService represents a remote GATT service. |
| 22 // | 21 // |
| 23 // Instances of the BluetoothRemoteGATTService class are used to represent GATT | 22 // Instances of the BluetoothRemoteGATTService class are used to represent GATT |
| 24 // attribute hierarchies that have been received from a | 23 // attribute hierarchies that have been received from a |
| 25 // remote Bluetooth GATT peripheral. Such BluetoothRemoteGattService instances | 24 // remote Bluetooth GATT peripheral. Such BluetoothRemoteGattService instances |
| 26 // are constructed and owned by a BluetoothDevice. | 25 // are constructed and owned by a BluetoothDevice. |
| 27 // | 26 // |
| 28 // Note: We use virtual inheritance on the GATT service since it will be | 27 // Note: We use virtual inheritance on the GATT service since it will be |
| 29 // inherited by platform specific versions of the GATT service classes also. The | 28 // inherited by platform specific versions of the GATT service classes also. The |
| (...skipping 24 matching lines...) Expand all Loading... |
| 54 protected: | 53 protected: |
| 55 BluetoothRemoteGattService(); | 54 BluetoothRemoteGattService(); |
| 56 | 55 |
| 57 private: | 56 private: |
| 58 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattService); | 57 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattService); |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace device | 60 } // namespace device |
| 62 | 61 |
| 63 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_H_ | 62 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_H_ |
| OLD | NEW |