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

Unified Diff: chromeos/dbus/bluetooth_adapter_client.h

Issue 10698027: dbus: move logic from Property<> to PropertySet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing overrides for clang Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/bluetooth_adapter_client.h
diff --git a/chromeos/dbus/bluetooth_adapter_client.h b/chromeos/dbus/bluetooth_adapter_client.h
index 52c86929e64d31226e991474fa360c88f99ea072..62c00d5383795948b277643fcdea25f1118f050e 100644
--- a/chromeos/dbus/bluetooth_adapter_client.h
+++ b/chromeos/dbus/bluetooth_adapter_client.h
@@ -33,51 +33,51 @@ class CHROMEOS_EXPORT BluetoothAdapterClient {
// Structure of properties associated with bluetooth adapters.
struct Properties : public BluetoothPropertySet {
// The Bluetooth device address of the adapter. Read-only.
- BluetoothProperty<std::string> address;
+ dbus::Property<std::string> address;
// The Bluetooth friendly name of the adapter, unlike remote devices,
// this property can be changed to change the presentation for when
// the adapter is discoverable.
- BluetoothProperty<std::string> name;
+ dbus::Property<std::string> name;
// The Bluetooth class of the adapter device. Read-only.
- BluetoothProperty<uint32> bluetooth_class;
+ dbus::Property<uint32> bluetooth_class;
// Whether the adapter radio is powered.
- BluetoothProperty<bool> powered;
+ dbus::Property<bool> powered;
// Whether the adapter is discoverable by other Bluetooth devices.
// |discovering_timeout| is used to automatically disable after a time
// period.
- BluetoothProperty<bool> discoverable;
+ dbus::Property<bool> discoverable;
// Whether the adapter accepts incoming pairing requests from other
// Bluetooth devices. |pairable_timeout| is used to automatically disable
// after a time period.
- BluetoothProperty<bool> pairable;
+ dbus::Property<bool> pairable;
// The timeout in seconds to cease accepting incoming pairing requests
// after |pairable| is set to true. Zero means adapter remains pairable
// forever.
- BluetoothProperty<uint32> pairable_timeout;
+ dbus::Property<uint32> pairable_timeout;
// The timeout in seconds to cease the adapter being discoverable by
// other Bluetooth devices after |discoverable| is set to true. Zero
// means adapter remains discoverable forever.
- BluetoothProperty<uint32> discoverable_timeout;
+ dbus::Property<uint32> discoverable_timeout;
// Indicates that the adapter is discovering other Bluetooth Devices.
// Read-only. Use StartDiscovery() to begin discovery.
- BluetoothProperty<bool> discovering;
+ dbus::Property<bool> discovering;
// List of object paths of known Bluetooth devices, known devices are
// those that have previously been connected or paired or are currently
// connected or paired. Read-only.
- BluetoothProperty<std::vector<dbus::ObjectPath> > devices;
+ dbus::Property<std::vector<dbus::ObjectPath> > devices;
// List of 128-bit UUIDs that represent the available local services.
// Read-only.
- BluetoothProperty<std::vector<std::string> > uuids;
+ dbus::Property<std::vector<std::string> > uuids;
Properties(dbus::ObjectProxy* object_proxy,
PropertyChangedCallback callback);
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698