| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 namespace chromeos { | 23 namespace chromeos { |
| 24 | 24 |
| 25 // Style Note: Clients are sorted by names. | 25 // Style Note: Clients are sorted by names. |
| 26 class BluetoothAdapterClient; | 26 class BluetoothAdapterClient; |
| 27 class BluetoothDeviceClient; | 27 class BluetoothDeviceClient; |
| 28 class BluetoothInputClient; | 28 class BluetoothInputClient; |
| 29 class BluetoothManagerClient; | 29 class BluetoothManagerClient; |
| 30 class BluetoothNodeClient; | 30 class BluetoothNodeClient; |
| 31 class BluetoothOutOfBandClient; |
| 31 class CashewClient; | 32 class CashewClient; |
| 32 class CrosDisksClient; | 33 class CrosDisksClient; |
| 33 class CryptohomeClient; | 34 class CryptohomeClient; |
| 34 class DebugDaemonClient; | 35 class DebugDaemonClient; |
| 35 class FlimflamDeviceClient; | 36 class FlimflamDeviceClient; |
| 36 class FlimflamIPConfigClient; | 37 class FlimflamIPConfigClient; |
| 37 class FlimflamManagerClient; | 38 class FlimflamManagerClient; |
| 38 class FlimflamNetworkClient; | 39 class FlimflamNetworkClient; |
| 39 class FlimflamProfileClient; | 40 class FlimflamProfileClient; |
| 40 class FlimflamServiceClient; | 41 class FlimflamServiceClient; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Returns the bluetooth manager client, owned by DBusThreadManager. | 120 // Returns the bluetooth manager client, owned by DBusThreadManager. |
| 120 // Do not cache this pointer and use it after DBusThreadManager is shut | 121 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 121 // down. | 122 // down. |
| 122 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0; | 123 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0; |
| 123 | 124 |
| 124 // Returns the bluetooth node client, owned by DBusThreadManager. | 125 // Returns the bluetooth node client, owned by DBusThreadManager. |
| 125 // Do not cache this pointer and use it after DBusThreadManager is shut | 126 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 126 // down. | 127 // down. |
| 127 virtual BluetoothNodeClient* GetBluetoothNodeClient() = 0; | 128 virtual BluetoothNodeClient* GetBluetoothNodeClient() = 0; |
| 128 | 129 |
| 130 // Returns the bluetooth node client, owned by DBusThreadManager. |
| 131 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 132 // down. |
| 133 virtual BluetoothOutOfBandClient* GetBluetoothOutOfBandClient() = 0; |
| 134 |
| 129 // Returns the Cashew client, owned by DBusThreadManager. | 135 // Returns the Cashew client, owned by DBusThreadManager. |
| 130 // Do not cache this pointer and use it after DBusThreadManager is shut | 136 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 131 // down. | 137 // down. |
| 132 virtual CashewClient* GetCashewClient() = 0; | 138 virtual CashewClient* GetCashewClient() = 0; |
| 133 | 139 |
| 134 // Returns the cros-disks client, owned by DBusThreadManager. | 140 // Returns the cros-disks client, owned by DBusThreadManager. |
| 135 // Do not cache this pointer and use it after DBusThreadManager is shut | 141 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 136 // down. | 142 // down. |
| 137 virtual CrosDisksClient* GetCrosDisksClient() = 0; | 143 virtual CrosDisksClient* GetCrosDisksClient() = 0; |
| 138 | 144 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 237 |
| 232 protected: | 238 protected: |
| 233 DBusThreadManager(); | 239 DBusThreadManager(); |
| 234 | 240 |
| 235 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 241 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
| 236 }; | 242 }; |
| 237 | 243 |
| 238 } // namespace chromeos | 244 } // namespace chromeos |
| 239 | 245 |
| 240 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 246 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
| OLD | NEW |