OLD | NEW |
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_MEDIA_TRANSPORT_CLIENT_H_ | 5 #ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
6 #define CHROMEOS_DBUS_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ | 6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "chromeos/chromeos_export.h" | |
13 #include "chromeos/dbus/dbus_client.h" | |
14 #include "dbus/file_descriptor.h" | 12 #include "dbus/file_descriptor.h" |
15 #include "dbus/object_path.h" | 13 #include "dbus/object_path.h" |
16 #include "dbus/property.h" | 14 #include "dbus/property.h" |
| 15 #include "device/bluetooth/bluetooth_export.h" |
| 16 #include "device/bluetooth/dbus/bluez_dbus_client.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace bluez { |
19 | 19 |
20 class CHROMEOS_EXPORT BluetoothMediaTransportClient : public DBusClient { | 20 class DEVICE_BLUETOOTH_EXPORT BluetoothMediaTransportClient |
| 21 : public BluezDBusClient { |
21 public: | 22 public: |
22 struct Properties : public dbus::PropertySet { | 23 struct Properties : public dbus::PropertySet { |
23 // The path to the device object which the transport is connected to. | 24 // The path to the device object which the transport is connected to. |
24 // Read-only. | 25 // Read-only. |
25 dbus::Property<dbus::ObjectPath> device; | 26 dbus::Property<dbus::ObjectPath> device; |
26 | 27 |
27 // UUID of the profile which the transport is for. Read-only. | 28 // UUID of the profile which the transport is for. Read-only. |
28 dbus::Property<std::string> uuid; | 29 dbus::Property<std::string> uuid; |
29 | 30 |
30 // Assigned codec value supported by the media transport. Read-only. | 31 // Assigned codec value supported by the media transport. Read-only. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 131 |
131 static BluetoothMediaTransportClient* Create(); | 132 static BluetoothMediaTransportClient* Create(); |
132 | 133 |
133 protected: | 134 protected: |
134 BluetoothMediaTransportClient(); | 135 BluetoothMediaTransportClient(); |
135 | 136 |
136 private: | 137 private: |
137 DISALLOW_COPY_AND_ASSIGN(BluetoothMediaTransportClient); | 138 DISALLOW_COPY_AND_ASSIGN(BluetoothMediaTransportClient); |
138 }; | 139 }; |
139 | 140 |
140 } // namespace chromeos | 141 } // namespace bluez |
141 | 142 |
142 #endif // CHROMEOS_DBUS_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ | 143 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
OLD | NEW |