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

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

Issue 2298603002: chromeos: Remove Introspectable D-Bus client library (Closed)
Patch Set: readme Created 4 years, 3 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 | « chromeos/dbus/README.md ('k') | chromeos/dbus/dbus_client_bundle.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_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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chromeos/chromeos_export.h" 12 #include "chromeos/chromeos_export.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 class ArcObbMounterClient; 16 class ArcObbMounterClient;
17 class CrasAudioClient; 17 class CrasAudioClient;
18 class CrosDisksClient; 18 class CrosDisksClient;
19 class CryptohomeClient; 19 class CryptohomeClient;
20 class DebugDaemonClient; 20 class DebugDaemonClient;
21 class EasyUnlockClient; 21 class EasyUnlockClient;
22 class GsmSMSClient; 22 class GsmSMSClient;
23 class ImageBurnerClient; 23 class ImageBurnerClient;
24 class IntrospectableClient;
25 class LorgnetteManagerClient; 24 class LorgnetteManagerClient;
26 class ModemMessagingClient; 25 class ModemMessagingClient;
27 class PermissionBrokerClient; 26 class PermissionBrokerClient;
28 class PowerManagerClient; 27 class PowerManagerClient;
29 class SMSClient; 28 class SMSClient;
30 class SessionManagerClient; 29 class SessionManagerClient;
31 class ShillDeviceClient; 30 class ShillDeviceClient;
32 class ShillIPConfigClient; 31 class ShillIPConfigClient;
33 class ShillManagerClient; 32 class ShillManagerClient;
34 class ShillProfileClient; 33 class ShillProfileClient;
(...skipping 16 matching lines...) Expand all
51 BLUETOOTH = 1 << 0, 50 BLUETOOTH = 1 << 0,
52 CRAS = 1 << 1, 51 CRAS = 1 << 1,
53 CROS_DISKS = 1 << 2, 52 CROS_DISKS = 1 << 2,
54 CRYPTOHOME = 1 << 3, 53 CRYPTOHOME = 1 << 3,
55 DEBUG_DAEMON = 1 << 4, 54 DEBUG_DAEMON = 1 << 4,
56 EASY_UNLOCK = 1 << 5, 55 EASY_UNLOCK = 1 << 5,
57 LORGNETTE_MANAGER = 1 << 6, 56 LORGNETTE_MANAGER = 1 << 6,
58 SHILL = 1 << 7, 57 SHILL = 1 << 7,
59 GSM_SMS = 1 << 8, 58 GSM_SMS = 1 << 8,
60 IMAGE_BURNER = 1 << 9, 59 IMAGE_BURNER = 1 << 9,
61 INTROSPECTABLE = 1 << 10, 60 MODEM_MESSAGING = 1 << 10,
62 MODEM_MESSAGING = 1 << 11, 61 PERMISSION_BROKER = 1 << 11,
63 PERMISSION_BROKER = 1 << 12, 62 POWER_MANAGER = 1 << 12,
64 POWER_MANAGER = 1 << 13, 63 SESSION_MANAGER = 1 << 13,
65 SESSION_MANAGER = 1 << 14, 64 SMS = 1 << 14,
66 SMS = 1 << 15, 65 SYSTEM_CLOCK = 1 << 15,
67 SYSTEM_CLOCK = 1 << 16, 66 UPDATE_ENGINE = 1 << 16,
68 UPDATE_ENGINE = 1 << 17, 67 ARC_OBB_MOUNTER = 1 << 17,
69 ARC_OBB_MOUNTER = 1 << 18,
70 }; 68 };
71 69
72 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); 70 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask);
73 ~DBusClientBundle(); 71 ~DBusClientBundle();
74 72
75 // Returns true if |client| is stubbed. 73 // Returns true if |client| is stubbed.
76 bool IsUsingStub(DBusClientType client); 74 bool IsUsingStub(DBusClientType client);
77 75
78 // Returns true if any real DBusClient is used. 76 // Returns true if any real DBusClient is used.
79 bool IsUsingAnyRealClient(); 77 bool IsUsingAnyRealClient();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 } 136 }
139 137
140 GsmSMSClient* gsm_sms_client() { 138 GsmSMSClient* gsm_sms_client() {
141 return gsm_sms_client_.get(); 139 return gsm_sms_client_.get();
142 } 140 }
143 141
144 ImageBurnerClient* image_burner_client() { 142 ImageBurnerClient* image_burner_client() {
145 return image_burner_client_.get(); 143 return image_burner_client_.get();
146 } 144 }
147 145
148 IntrospectableClient* introspectable_client() {
149 return introspectable_client_.get();
150 }
151
152 ModemMessagingClient* modem_messaging_client() { 146 ModemMessagingClient* modem_messaging_client() {
153 return modem_messaging_client_.get(); 147 return modem_messaging_client_.get();
154 } 148 }
155 149
156 PermissionBrokerClient* permission_broker_client() { 150 PermissionBrokerClient* permission_broker_client() {
157 return permission_broker_client_.get(); 151 return permission_broker_client_.get();
158 } 152 }
159 153
160 SystemClockClient* system_clock_client() { 154 SystemClockClient* system_clock_client() {
161 return system_clock_client_.get(); 155 return system_clock_client_.get();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 std::unique_ptr<LorgnetteManagerClient> lorgnette_manager_client_; 187 std::unique_ptr<LorgnetteManagerClient> lorgnette_manager_client_;
194 std::unique_ptr<ShillDeviceClient> shill_device_client_; 188 std::unique_ptr<ShillDeviceClient> shill_device_client_;
195 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_; 189 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_;
196 std::unique_ptr<ShillManagerClient> shill_manager_client_; 190 std::unique_ptr<ShillManagerClient> shill_manager_client_;
197 std::unique_ptr<ShillServiceClient> shill_service_client_; 191 std::unique_ptr<ShillServiceClient> shill_service_client_;
198 std::unique_ptr<ShillProfileClient> shill_profile_client_; 192 std::unique_ptr<ShillProfileClient> shill_profile_client_;
199 std::unique_ptr<ShillThirdPartyVpnDriverClient> 193 std::unique_ptr<ShillThirdPartyVpnDriverClient>
200 shill_third_party_vpn_driver_client_; 194 shill_third_party_vpn_driver_client_;
201 std::unique_ptr<GsmSMSClient> gsm_sms_client_; 195 std::unique_ptr<GsmSMSClient> gsm_sms_client_;
202 std::unique_ptr<ImageBurnerClient> image_burner_client_; 196 std::unique_ptr<ImageBurnerClient> image_burner_client_;
203 std::unique_ptr<IntrospectableClient> introspectable_client_;
204 std::unique_ptr<ModemMessagingClient> modem_messaging_client_; 197 std::unique_ptr<ModemMessagingClient> modem_messaging_client_;
205 std::unique_ptr<PermissionBrokerClient> permission_broker_client_; 198 std::unique_ptr<PermissionBrokerClient> permission_broker_client_;
206 std::unique_ptr<SystemClockClient> system_clock_client_; 199 std::unique_ptr<SystemClockClient> system_clock_client_;
207 std::unique_ptr<PowerManagerClient> power_manager_client_; 200 std::unique_ptr<PowerManagerClient> power_manager_client_;
208 std::unique_ptr<SessionManagerClient> session_manager_client_; 201 std::unique_ptr<SessionManagerClient> session_manager_client_;
209 std::unique_ptr<SMSClient> sms_client_; 202 std::unique_ptr<SMSClient> sms_client_;
210 std::unique_ptr<UpdateEngineClient> update_engine_client_; 203 std::unique_ptr<UpdateEngineClient> update_engine_client_;
211 204
212 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); 205 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle);
213 }; 206 };
214 207
215 } // namespace chromeos 208 } // namespace chromeos
216 209
217 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ 210 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/README.md ('k') | chromeos/dbus/dbus_client_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698