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

Side by Side Diff: device/bluetooth/bluez/bluetooth_local_gatt_service_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_LOCAL_GATT_SERVICE_BLUEZ_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_LOCAL_GATT_SERVICE_BLUEZ_H_
6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_LOCAL_GATT_SERVICE_BLUEZ_H_ 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_LOCAL_GATT_SERVICE_BLUEZ_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "device/bluetooth/bluetooth_local_gatt_service.h" 14 #include "device/bluetooth/bluetooth_local_gatt_service.h"
15 #include "device/bluetooth/bluetooth_uuid.h" 15 #include "device/bluetooth/bluetooth_uuid.h"
16 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h" 16 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h"
17 #include "device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h" 17 #include "device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h"
18 18
19 namespace device {
20
21 class BluetoothAdapter;
22 class BluetoothDevice;
23
24 } // namespace device
25
26 namespace bluez { 19 namespace bluez {
27 20
28 class BluetoothAdapterBlueZ; 21 class BluetoothAdapterBlueZ;
29 class BluetoothLocalGattCharacteristicBlueZ; 22 class BluetoothLocalGattCharacteristicBlueZ;
30 23
31 // The BluetoothLocalGattServiceBlueZ class implements BluetootGattService 24 // The BluetoothLocalGattServiceBlueZ class implements BluetootGattService
32 // for local GATT services for platforms that use BlueZ. 25 // for local GATT services for platforms that use BlueZ.
33 class BluetoothLocalGattServiceBlueZ 26 class BluetoothLocalGattServiceBlueZ
34 : public BluetoothGattServiceBlueZ, 27 : public BluetoothGattServiceBlueZ,
35 public device::BluetoothLocalGattService { 28 public device::BluetoothLocalGattService {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Note: This should remain the last member so it'll be destroyed and 89 // Note: This should remain the last member so it'll be destroyed and
97 // invalidate its weak pointers before any other members are destroyed. 90 // invalidate its weak pointers before any other members are destroyed.
98 base::WeakPtrFactory<BluetoothLocalGattServiceBlueZ> weak_ptr_factory_; 91 base::WeakPtrFactory<BluetoothLocalGattServiceBlueZ> weak_ptr_factory_;
99 92
100 DISALLOW_COPY_AND_ASSIGN(BluetoothLocalGattServiceBlueZ); 93 DISALLOW_COPY_AND_ASSIGN(BluetoothLocalGattServiceBlueZ);
101 }; 94 };
102 95
103 } // namespace bluez 96 } // namespace bluez
104 97
105 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_LOCAL_GATT_SERVICE_BLUEZ_H_ 98 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_LOCAL_GATT_SERVICE_BLUEZ_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.h ('k') | device/bluetooth/bluez/bluetooth_remote_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698