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

Side by Side Diff: chromeos/dbus/dbus_clients_common.h

Issue 2646793003: cros: Add biod interfaces to dbus thread manager. (Closed)
Patch Set: Change to const. Created 3 years, 8 months 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
« no previous file with comments | « no previous file | chromeos/dbus/dbus_clients_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CLIENTS_COMMON_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_CLIENTS_COMMON_H_
6 #define CHROMEOS_DBUS_DBUS_CLIENTS_COMMON_H_ 6 #define CHROMEOS_DBUS_DBUS_CLIENTS_COMMON_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 12
13 namespace dbus { 13 namespace dbus {
14 class Bus; 14 class Bus;
15 } 15 }
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class BiodClient;
19 class CrasAudioClient; 20 class CrasAudioClient;
20 class CryptohomeClient; 21 class CryptohomeClient;
21 class GsmSMSClient; 22 class GsmSMSClient;
22 class ModemMessagingClient; 23 class ModemMessagingClient;
23 class PermissionBrokerClient; 24 class PermissionBrokerClient;
24 class PowerManagerClient; 25 class PowerManagerClient;
25 class SessionManagerClient; 26 class SessionManagerClient;
26 class ShillDeviceClient; 27 class ShillDeviceClient;
27 class ShillIPConfigClient; 28 class ShillIPConfigClient;
28 class ShillManagerClient; 29 class ShillManagerClient;
(...skipping 12 matching lines...) Expand all
41 explicit DBusClientsCommon(bool use_real_clients); 42 explicit DBusClientsCommon(bool use_real_clients);
42 ~DBusClientsCommon(); 43 ~DBusClientsCommon();
43 44
44 // Initialize proper runtime environment for its dbus clients. 45 // Initialize proper runtime environment for its dbus clients.
45 void Initialize(dbus::Bus* system_bus); 46 void Initialize(dbus::Bus* system_bus);
46 47
47 private: 48 private:
48 friend class DBusThreadManager; 49 friend class DBusThreadManager;
49 friend class DBusThreadManagerSetter; 50 friend class DBusThreadManagerSetter;
50 51
52 std::unique_ptr<BiodClient> biod_client_;
51 std::unique_ptr<CrasAudioClient> cras_audio_client_; 53 std::unique_ptr<CrasAudioClient> cras_audio_client_;
52 std::unique_ptr<CryptohomeClient> cryptohome_client_; 54 std::unique_ptr<CryptohomeClient> cryptohome_client_;
53 std::unique_ptr<GsmSMSClient> gsm_sms_client_; 55 std::unique_ptr<GsmSMSClient> gsm_sms_client_;
54 std::unique_ptr<ModemMessagingClient> modem_messaging_client_; 56 std::unique_ptr<ModemMessagingClient> modem_messaging_client_;
55 std::unique_ptr<ShillDeviceClient> shill_device_client_; 57 std::unique_ptr<ShillDeviceClient> shill_device_client_;
56 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_; 58 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_;
57 std::unique_ptr<ShillManagerClient> shill_manager_client_; 59 std::unique_ptr<ShillManagerClient> shill_manager_client_;
58 std::unique_ptr<ShillServiceClient> shill_service_client_; 60 std::unique_ptr<ShillServiceClient> shill_service_client_;
59 std::unique_ptr<ShillProfileClient> shill_profile_client_; 61 std::unique_ptr<ShillProfileClient> shill_profile_client_;
60 std::unique_ptr<ShillThirdPartyVpnDriverClient> 62 std::unique_ptr<ShillThirdPartyVpnDriverClient>
61 shill_third_party_vpn_driver_client_; 63 shill_third_party_vpn_driver_client_;
62 std::unique_ptr<PermissionBrokerClient> permission_broker_client_; 64 std::unique_ptr<PermissionBrokerClient> permission_broker_client_;
63 std::unique_ptr<SMSClient> sms_client_; 65 std::unique_ptr<SMSClient> sms_client_;
64 std::unique_ptr<SystemClockClient> system_clock_client_; 66 std::unique_ptr<SystemClockClient> system_clock_client_;
65 std::unique_ptr<PowerManagerClient> power_manager_client_; 67 std::unique_ptr<PowerManagerClient> power_manager_client_;
66 std::unique_ptr<SessionManagerClient> session_manager_client_; 68 std::unique_ptr<SessionManagerClient> session_manager_client_;
67 std::unique_ptr<UpdateEngineClient> update_engine_client_; 69 std::unique_ptr<UpdateEngineClient> update_engine_client_;
68 70
69 DISALLOW_COPY_AND_ASSIGN(DBusClientsCommon); 71 DISALLOW_COPY_AND_ASSIGN(DBusClientsCommon);
70 }; 72 };
71 73
72 } // namespace chromeos 74 } // namespace chromeos
73 75
74 #endif // CHROMEOS_DBUS_DBUS_CLIENTS_COMMON_H_ 76 #endif // CHROMEOS_DBUS_DBUS_CLIENTS_COMMON_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/dbus_clients_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698