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

Side by Side Diff: device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.h

Issue 2542903002: device: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_
6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_ 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "dbus/object_path.h" 11 #include "dbus/object_path.h"
12 #include "device/bluetooth/bluetooth_gatt_descriptor.h" 12 #include "device/bluetooth/bluetooth_gatt_descriptor.h"
13 13
14 namespace bluez { 14 namespace bluez {
15 15
16 class BluetoothGattCharacteristicBlueZ;
17
18 // The BluetoothGattDescriptorBlueZ class implements BluetoothGattDescriptor for 16 // The BluetoothGattDescriptorBlueZ class implements BluetoothGattDescriptor for
19 // GATT characteristic descriptors for platforms that use BlueZ. 17 // GATT characteristic descriptors for platforms that use BlueZ.
20 class BluetoothGattDescriptorBlueZ 18 class BluetoothGattDescriptorBlueZ
21 : public virtual device::BluetoothGattDescriptor { 19 : public virtual device::BluetoothGattDescriptor {
22 public: 20 public:
23 // device::BluetoothGattDescriptor overrides. 21 // device::BluetoothGattDescriptor overrides.
24 std::string GetIdentifier() const override; 22 std::string GetIdentifier() const override;
25 23
26 // Object path of the underlying D-Bus characteristic. 24 // Object path of the underlying D-Bus characteristic.
27 const dbus::ObjectPath& object_path() const { return object_path_; } 25 const dbus::ObjectPath& object_path() const { return object_path_; }
(...skipping 11 matching lines...) Expand all
39 37
40 // Object path of the D-Bus descriptor object. 38 // Object path of the D-Bus descriptor object.
41 dbus::ObjectPath object_path_; 39 dbus::ObjectPath object_path_;
42 40
43 DISALLOW_COPY_AND_ASSIGN(BluetoothGattDescriptorBlueZ); 41 DISALLOW_COPY_AND_ASSIGN(BluetoothGattDescriptorBlueZ);
44 }; 42 };
45 43
46 } // namespace bluez 44 } // namespace bluez
47 45
48 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_ 46 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_DESCRIPTOR_BLUEZ_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_socket.h ('k') | device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698