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> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 }; | 22 }; |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 class DBusThreadManagerObserver; | 26 class DBusThreadManagerObserver; |
27 | 27 |
28 // Style Note: Clients are sorted by names. | 28 // Style Note: Clients are sorted by names. |
29 class BluetoothAdapterClient; | 29 class BluetoothAdapterClient; |
30 class BluetoothAgentManagerClient; | 30 class BluetoothAgentManagerClient; |
31 class BluetoothDeviceClient; | 31 class BluetoothDeviceClient; |
| 32 class BluetoothGattCharacteristicClient; |
| 33 class BluetoothGattDescriptorClient; |
| 34 class BluetoothGattServiceClient; |
32 class BluetoothInputClient; | 35 class BluetoothInputClient; |
33 class BluetoothProfileManagerClient; | 36 class BluetoothProfileManagerClient; |
34 class CrasAudioClient; | 37 class CrasAudioClient; |
35 class CrosDisksClient; | 38 class CrosDisksClient; |
36 class CryptohomeClient; | 39 class CryptohomeClient; |
37 class DBusClient; | 40 class DBusClient; |
38 class DebugDaemonClient; | 41 class DebugDaemonClient; |
39 class GsmSMSClient; | 42 class GsmSMSClient; |
40 class ImageBurnerClient; | 43 class ImageBurnerClient; |
41 class IntrospectableClient; | 44 class IntrospectableClient; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 virtual void RemoveObserver(DBusThreadManagerObserver* observer) = 0; | 120 virtual void RemoveObserver(DBusThreadManagerObserver* observer) = 0; |
118 | 121 |
119 // Returns various D-Bus bus instances, owned by DBusThreadManager. | 122 // Returns various D-Bus bus instances, owned by DBusThreadManager. |
120 virtual dbus::Bus* GetSystemBus() = 0; | 123 virtual dbus::Bus* GetSystemBus() = 0; |
121 | 124 |
122 // All returned objects are owned by DBusThreadManager. Do not cache these | 125 // All returned objects are owned by DBusThreadManager. Do not cache these |
123 // pointers and use them after DBusThreadManager has been shut down. | 126 // pointers and use them after DBusThreadManager has been shut down. |
124 virtual BluetoothAdapterClient* GetBluetoothAdapterClient() = 0; | 127 virtual BluetoothAdapterClient* GetBluetoothAdapterClient() = 0; |
125 virtual BluetoothAgentManagerClient* GetBluetoothAgentManagerClient() = 0; | 128 virtual BluetoothAgentManagerClient* GetBluetoothAgentManagerClient() = 0; |
126 virtual BluetoothDeviceClient* GetBluetoothDeviceClient() = 0; | 129 virtual BluetoothDeviceClient* GetBluetoothDeviceClient() = 0; |
| 130 virtual BluetoothGattCharacteristicClient* |
| 131 GetBluetoothGattCharacteristicClient() = 0; |
| 132 virtual BluetoothGattDescriptorClient* GetBluetoothGattDescriptorClient() = 0; |
| 133 virtual BluetoothGattServiceClient* GetBluetoothGattServiceClient() = 0; |
127 virtual BluetoothInputClient* GetBluetoothInputClient() = 0; | 134 virtual BluetoothInputClient* GetBluetoothInputClient() = 0; |
128 virtual BluetoothProfileManagerClient* GetBluetoothProfileManagerClient() = 0; | 135 virtual BluetoothProfileManagerClient* GetBluetoothProfileManagerClient() = 0; |
129 virtual CrasAudioClient* GetCrasAudioClient() = 0; | 136 virtual CrasAudioClient* GetCrasAudioClient() = 0; |
130 virtual CrosDisksClient* GetCrosDisksClient() = 0; | 137 virtual CrosDisksClient* GetCrosDisksClient() = 0; |
131 virtual CryptohomeClient* GetCryptohomeClient() = 0; | 138 virtual CryptohomeClient* GetCryptohomeClient() = 0; |
132 virtual DebugDaemonClient* GetDebugDaemonClient() = 0; | 139 virtual DebugDaemonClient* GetDebugDaemonClient() = 0; |
133 virtual GsmSMSClient* GetGsmSMSClient() = 0; | 140 virtual GsmSMSClient* GetGsmSMSClient() = 0; |
134 virtual ImageBurnerClient* GetImageBurnerClient() = 0; | 141 virtual ImageBurnerClient* GetImageBurnerClient() = 0; |
135 virtual IntrospectableClient* GetIntrospectableClient() = 0; | 142 virtual IntrospectableClient* GetIntrospectableClient() = 0; |
136 virtual ModemMessagingClient* GetModemMessagingClient() = 0; | 143 virtual ModemMessagingClient* GetModemMessagingClient() = 0; |
(...skipping 28 matching lines...) Expand all Loading... |
165 | 172 |
166 // Initializes |client| with the |system_bus_|. | 173 // Initializes |client| with the |system_bus_|. |
167 static void InitClient(DBusClient* client); | 174 static void InitClient(DBusClient* client); |
168 | 175 |
169 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 176 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
170 }; | 177 }; |
171 | 178 |
172 } // namespace chromeos | 179 } // namespace chromeos |
173 | 180 |
174 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 181 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |