| 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_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDER_H
_ | 5 #ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDER_H
_ |
| 6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDER_H
_ | 6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDER_H
_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 const std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>& | 34 const std::map<dbus::ObjectPath, BluetoothLocalGattServiceBlueZ*>& |
| 35 services); | 35 services); |
| 36 ~FakeBluetoothGattApplicationServiceProvider() override; | 36 ~FakeBluetoothGattApplicationServiceProvider() override; |
| 37 | 37 |
| 38 const dbus::ObjectPath& object_path() const { return object_path_; } | 38 const dbus::ObjectPath& object_path() const { return object_path_; } |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 // D-Bus object path of the fake GATT service. | 41 // D-Bus object path of the fake GATT service. |
| 42 dbus::ObjectPath object_path_; | 42 dbus::ObjectPath object_path_; |
| 43 | 43 |
| 44 // List of GATT Service service providers managed by this object manager. | |
| 45 std::vector<std::unique_ptr<BluetoothGattServiceServiceProvider>> | |
| 46 service_providers_; | |
| 47 // List of GATT Characteristic service providers managed by this object | |
| 48 // manager. | |
| 49 std::vector<std::unique_ptr<BluetoothGattCharacteristicServiceProvider>> | |
| 50 characteristic_providers_; | |
| 51 // List of GATT Descriptor service providers managed by this object manager. | |
| 52 std::vector<std::unique_ptr<BluetoothGattDescriptorServiceProvider>> | |
| 53 descriptor_providers_; | |
| 54 | |
| 55 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattApplicationServiceProvider); | 44 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattApplicationServiceProvider); |
| 56 }; | 45 }; |
| 57 | 46 |
| 58 } // namespace bluez | 47 } // namespace bluez |
| 59 | 48 |
| 60 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDE
R_H_ | 49 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_APPLICATION_SERVICE_PROVIDE
R_H_ |
| OLD | NEW |