OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CLIENT_BUNDLE_H_ | 5 #ifndef CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 6 #define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 class BluetoothGattServiceClient; | 21 class BluetoothGattServiceClient; |
22 class BluetoothInputClient; | 22 class BluetoothInputClient; |
23 class BluetoothMediaClient; | 23 class BluetoothMediaClient; |
24 class BluetoothMediaTransportClient; | 24 class BluetoothMediaTransportClient; |
25 class BluetoothProfileManagerClient; | 25 class BluetoothProfileManagerClient; |
26 class CrasAudioClient; | 26 class CrasAudioClient; |
27 class CrosDisksClient; | 27 class CrosDisksClient; |
28 class CryptohomeClient; | 28 class CryptohomeClient; |
29 class DebugDaemonClient; | 29 class DebugDaemonClient; |
30 class EasyUnlockClient; | 30 class EasyUnlockClient; |
| 31 class LeadershipDaemonManagerClient; |
31 class LorgnetteManagerClient; | 32 class LorgnetteManagerClient; |
32 class ShillDeviceClient; | 33 class ShillDeviceClient; |
33 class ShillIPConfigClient; | 34 class ShillIPConfigClient; |
34 class ShillManagerClient; | 35 class ShillManagerClient; |
35 class ShillServiceClient; | 36 class ShillServiceClient; |
36 class ShillProfileClient; | 37 class ShillProfileClient; |
37 class ShillThirdPartyVpnDriverClient; | 38 class ShillThirdPartyVpnDriverClient; |
38 class GsmSMSClient; | 39 class GsmSMSClient; |
39 class ImageBurnerClient; | 40 class ImageBurnerClient; |
40 class IntrospectableClient; | 41 class IntrospectableClient; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 MODEM_MESSAGING = 1 << 11, | 79 MODEM_MESSAGING = 1 << 11, |
79 NFC = 1 << 12, | 80 NFC = 1 << 12, |
80 PERMISSION_BROKER = 1 << 13, | 81 PERMISSION_BROKER = 1 << 13, |
81 POWER_MANAGER = 1 << 14, | 82 POWER_MANAGER = 1 << 14, |
82 PRIVET_DAEMON = 1 << 15, | 83 PRIVET_DAEMON = 1 << 15, |
83 SESSION_MANAGER = 1 << 16, | 84 SESSION_MANAGER = 1 << 16, |
84 SMS = 1 << 17, | 85 SMS = 1 << 17, |
85 SYSTEM_CLOCK = 1 << 18, | 86 SYSTEM_CLOCK = 1 << 18, |
86 UPDATE_ENGINE = 1 << 19, | 87 UPDATE_ENGINE = 1 << 19, |
87 PEER_DAEMON = 1 << 20, | 88 PEER_DAEMON = 1 << 20, |
| 89 LEADERSHIP_DAEMON = 1 << 21, |
88 }; | 90 }; |
89 | 91 |
90 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); | 92 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); |
91 ~DBusClientBundle(); | 93 ~DBusClientBundle(); |
92 | 94 |
93 // Returns true if |client| is stubbed. | 95 // Returns true if |client| is stubbed. |
94 bool IsUsingStub(DBusClientType client); | 96 bool IsUsingStub(DBusClientType client); |
95 | 97 |
96 // Returns true if any real DBusClient is used. | 98 // Returns true if any real DBusClient is used. |
97 bool IsUsingAnyRealClient(); | 99 bool IsUsingAnyRealClient(); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 } | 162 } |
161 | 163 |
162 DebugDaemonClient* debug_daemon_client() { | 164 DebugDaemonClient* debug_daemon_client() { |
163 return debug_daemon_client_.get(); | 165 return debug_daemon_client_.get(); |
164 } | 166 } |
165 | 167 |
166 EasyUnlockClient* easy_unlock_client() { | 168 EasyUnlockClient* easy_unlock_client() { |
167 return easy_unlock_client_.get(); | 169 return easy_unlock_client_.get(); |
168 } | 170 } |
169 | 171 |
| 172 LeadershipDaemonManagerClient* leadership_daemon_manager_client() { |
| 173 return leadership_daemon_manager_client_.get(); |
| 174 } |
| 175 |
170 LorgnetteManagerClient* lorgnette_manager_client() { | 176 LorgnetteManagerClient* lorgnette_manager_client() { |
171 return lorgnette_manager_client_.get(); | 177 return lorgnette_manager_client_.get(); |
172 } | 178 } |
173 | 179 |
174 ShillDeviceClient* shill_device_client() { | 180 ShillDeviceClient* shill_device_client() { |
175 return shill_device_client_.get(); | 181 return shill_device_client_.get(); |
176 } | 182 } |
177 | 183 |
178 ShillIPConfigClient* shill_ipconfig_client() { | 184 ShillIPConfigClient* shill_ipconfig_client() { |
179 return shill_ipconfig_client_.get(); | 185 return shill_ipconfig_client_.get(); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; | 286 scoped_ptr<BluetoothGattServiceClient> bluetooth_gatt_service_client_; |
281 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; | 287 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; |
282 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; | 288 scoped_ptr<BluetoothMediaClient> bluetooth_media_client_; |
283 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; | 289 scoped_ptr<BluetoothMediaTransportClient> bluetooth_media_transport_client_; |
284 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; | 290 scoped_ptr<BluetoothProfileManagerClient> bluetooth_profile_manager_client_; |
285 scoped_ptr<CrasAudioClient> cras_audio_client_; | 291 scoped_ptr<CrasAudioClient> cras_audio_client_; |
286 scoped_ptr<CrosDisksClient> cros_disks_client_; | 292 scoped_ptr<CrosDisksClient> cros_disks_client_; |
287 scoped_ptr<CryptohomeClient> cryptohome_client_; | 293 scoped_ptr<CryptohomeClient> cryptohome_client_; |
288 scoped_ptr<DebugDaemonClient> debug_daemon_client_; | 294 scoped_ptr<DebugDaemonClient> debug_daemon_client_; |
289 scoped_ptr<EasyUnlockClient> easy_unlock_client_; | 295 scoped_ptr<EasyUnlockClient> easy_unlock_client_; |
| 296 scoped_ptr<LeadershipDaemonManagerClient> leadership_daemon_manager_client_; |
290 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_; | 297 scoped_ptr<LorgnetteManagerClient> lorgnette_manager_client_; |
291 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_; | 298 scoped_ptr<PeerDaemonManagerClient> peer_daemon_manager_client_; |
292 scoped_ptr<PrivetDaemonClient> privet_daemon_client_; | 299 scoped_ptr<PrivetDaemonClient> privet_daemon_client_; |
293 scoped_ptr<ShillDeviceClient> shill_device_client_; | 300 scoped_ptr<ShillDeviceClient> shill_device_client_; |
294 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_; | 301 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_; |
295 scoped_ptr<ShillManagerClient> shill_manager_client_; | 302 scoped_ptr<ShillManagerClient> shill_manager_client_; |
296 scoped_ptr<ShillServiceClient> shill_service_client_; | 303 scoped_ptr<ShillServiceClient> shill_service_client_; |
297 scoped_ptr<ShillProfileClient> shill_profile_client_; | 304 scoped_ptr<ShillProfileClient> shill_profile_client_; |
298 scoped_ptr<ShillThirdPartyVpnDriverClient> | 305 scoped_ptr<ShillThirdPartyVpnDriverClient> |
299 shill_third_party_vpn_driver_client_; | 306 shill_third_party_vpn_driver_client_; |
(...skipping 14 matching lines...) Expand all Loading... |
314 scoped_ptr<SessionManagerClient> session_manager_client_; | 321 scoped_ptr<SessionManagerClient> session_manager_client_; |
315 scoped_ptr<SMSClient> sms_client_; | 322 scoped_ptr<SMSClient> sms_client_; |
316 scoped_ptr<UpdateEngineClient> update_engine_client_; | 323 scoped_ptr<UpdateEngineClient> update_engine_client_; |
317 | 324 |
318 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); | 325 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); |
319 }; | 326 }; |
320 | 327 |
321 } // namespace chromeos | 328 } // namespace chromeos |
322 | 329 |
323 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ | 330 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ |
OLD | NEW |