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

Side by Side Diff: device/bluetooth/dbus/bluetooth_gatt_service_client.h

Issue 1984493002: Address property removals of GATT service and characteristic interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 5 #ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 struct Properties : public dbus::PropertySet { 25 struct Properties : public dbus::PropertySet {
26 // The 128-bit service UUID. [read-only] 26 // The 128-bit service UUID. [read-only]
27 dbus::Property<std::string> uuid; 27 dbus::Property<std::string> uuid;
28 28
29 // Object path of the Bluetooth device that the GATT service belongs to. 29 // Object path of the Bluetooth device that the GATT service belongs to.
30 dbus::Property<dbus::ObjectPath> device; 30 dbus::Property<dbus::ObjectPath> device;
31 31
32 // Whether or not this service is a primary service. 32 // Whether or not this service is a primary service.
33 dbus::Property<bool> primary; 33 dbus::Property<bool> primary;
34 34
35 // Array of object paths representing the characteristics of this service.
36 // [read-only]
37 dbus::Property<std::vector<dbus::ObjectPath>> characteristics;
38
39 // Array of object paths representing the included services of this service. 35 // Array of object paths representing the included services of this service.
40 // [read-only] 36 // [read-only]
41 dbus::Property<std::vector<dbus::ObjectPath>> includes; 37 dbus::Property<std::vector<dbus::ObjectPath>> includes;
42 38
43 Properties(dbus::ObjectProxy* object_proxy, 39 Properties(dbus::ObjectProxy* object_proxy,
44 const std::string& interface_name, 40 const std::string& interface_name,
45 const PropertyChangedCallback& callback); 41 const PropertyChangedCallback& callback);
46 ~Properties() override; 42 ~Properties() override;
47 }; 43 };
48 44
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 protected: 82 protected:
87 BluetoothGattServiceClient(); 83 BluetoothGattServiceClient();
88 84
89 private: 85 private:
90 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceClient); 86 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceClient);
91 }; 87 };
92 88
93 } // namespace bluez 89 } // namespace bluez
94 90
95 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 91 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « device/bluetooth/dbus/bluetooth_gatt_characteristic_client.cc ('k') | device/bluetooth/dbus/bluetooth_gatt_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698