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

Side by Side Diff: chromeos/dbus/bluetooth_gatt_service_client.h

Issue 402303002: bluetoothLowEnergy: Send onServiceAdded after all characteristics are discovered (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 struct Properties : public dbus::PropertySet { 23 struct Properties : public dbus::PropertySet {
24 // The 128-bit service UUID. [read-only] 24 // The 128-bit service UUID. [read-only]
25 dbus::Property<std::string> uuid; 25 dbus::Property<std::string> uuid;
26 26
27 // Object path of the Bluetooth device that the GATT service belongs to. 27 // Object path of the Bluetooth device that the GATT service belongs to.
28 dbus::Property<dbus::ObjectPath> device; 28 dbus::Property<dbus::ObjectPath> device;
29 29
30 // Whether or not this service is a primary service. 30 // Whether or not this service is a primary service.
31 dbus::Property<bool> primary; 31 dbus::Property<bool> primary;
32 32
33 // Array of object paths representing the characteristics of this service.
34 // [read-only]
35 dbus::Property<std::vector<dbus::ObjectPath> > characteristics;
36
33 // Array of object paths representing the included services of this service. 37 // Array of object paths representing the included services of this service.
34 // [read-only] 38 // [read-only]
35 dbus::Property<std::vector<dbus::ObjectPath> > includes; 39 dbus::Property<std::vector<dbus::ObjectPath> > includes;
36 40
37 Properties(dbus::ObjectProxy* object_proxy, 41 Properties(dbus::ObjectProxy* object_proxy,
38 const std::string& interface_name, 42 const std::string& interface_name,
39 const PropertyChangedCallback& callback); 43 const PropertyChangedCallback& callback);
40 virtual ~Properties(); 44 virtual ~Properties();
41 }; 45 };
42 46
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 protected: 84 protected:
81 BluetoothGattServiceClient(); 85 BluetoothGattServiceClient();
82 86
83 private: 87 private:
84 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceClient); 88 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceClient);
85 }; 89 };
86 90
87 } // namespace chromeos 91 } // namespace chromeos
88 92
89 #endif // CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_ 93 #endif // CHROMEOS_DBUS_BLUETOOTH_GATT_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/bluetooth_gatt_characteristic_client.cc ('k') | chromeos/dbus/bluetooth_gatt_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698