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

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

Issue 1847823002: bluetooth: replace gattservices dbus property with servicesresolved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DEVICE_CLIENT_H_ 5 #ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ 6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // give false positives. Read-only. 80 // give false positives. Read-only.
81 dbus::Property<bool> legacy_pairing; 81 dbus::Property<bool> legacy_pairing;
82 82
83 // Remote Device ID information in Linux kernel modalias format. Read-only. 83 // Remote Device ID information in Linux kernel modalias format. Read-only.
84 dbus::Property<std::string> modalias; 84 dbus::Property<std::string> modalias;
85 85
86 // Received signal strength indicator that is set when the device is 86 // Received signal strength indicator that is set when the device is
87 // discovered during inquiry. Read-only. 87 // discovered during inquiry. Read-only.
88 dbus::Property<int16_t> rssi; 88 dbus::Property<int16_t> rssi;
89 89
90 // List of GATT service object paths. Each referenced object exports the 90 // Indicate whether or not service discovery has been resolved. Read-only.
91 // org.bluez.GattService1 interface and represents a remote GATT service. 91 dbus::Property<bool> services_resolved;
92 // This property will be updated once all remote GATT services of this
93 // device have been discovered and exported over D-Bus. Read-only.
94 dbus::Property<std::vector<dbus::ObjectPath>> gatt_services;
95 92
96 Properties(dbus::ObjectProxy* object_proxy, 93 Properties(dbus::ObjectProxy* object_proxy,
97 const std::string& interface_name, 94 const std::string& interface_name,
98 const PropertyChangedCallback& callback); 95 const PropertyChangedCallback& callback);
99 ~Properties() override; 96 ~Properties() override;
100 }; 97 };
101 98
102 // Interface for observing changes from a remote bluetooth device. 99 // Interface for observing changes from a remote bluetooth device.
103 class Observer { 100 class Observer {
104 public: 101 public:
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 protected: 203 protected:
207 BluetoothDeviceClient(); 204 BluetoothDeviceClient();
208 205
209 private: 206 private:
210 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient); 207 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceClient);
211 }; 208 };
212 209
213 } // namespace bluez 210 } // namespace bluez
214 211
215 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_DEVICE_CLIENT_H_ 212 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_bluez.cc ('k') | device/bluetooth/dbus/bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698