OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DBUS_THREAD_MANAGER_H_ | 5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
7 | 7 |
8 #include <string> | |
9 | |
10 #include "base/callback.h" | 8 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
13 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
14 | 12 |
15 namespace base { | 13 namespace base { |
16 class Thread; | 14 class Thread; |
17 }; | 15 } // namespace base |
18 | 16 |
19 namespace dbus { | 17 namespace dbus { |
20 class Bus; | 18 class Bus; |
21 class ObjectPath; | 19 class ObjectPath; |
22 }; | 20 } // namespace dbus |
23 | 21 |
24 namespace chromeos { | 22 namespace chromeos { |
25 | 23 |
26 class DBusThreadManagerObserver; | 24 class DBusThreadManagerObserver; |
27 | 25 |
28 // Style Note: Clients are sorted by names. | 26 // Style Note: Clients are sorted by names. |
29 class BluetoothAdapterClient; | 27 class BluetoothAdapterClient; |
30 class BluetoothAgentManagerClient; | 28 class BluetoothAgentManagerClient; |
31 class BluetoothDeviceClient; | 29 class BluetoothDeviceClient; |
32 class BluetoothGattCharacteristicClient; | 30 class BluetoothGattCharacteristicClient; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 174 |
177 // Initializes |client| with the |system_bus_|. | 175 // Initializes |client| with the |system_bus_|. |
178 static void InitClient(DBusClient* client); | 176 static void InitClient(DBusClient* client); |
179 | 177 |
180 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 178 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
181 }; | 179 }; |
182 | 180 |
183 } // namespace chromeos | 181 } // namespace chromeos |
184 | 182 |
185 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 183 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |