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

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

Issue 2292703002: chromeos: Remove unused NFC D-Bus client library (Closed)
Patch Set: rebase 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; 24 class IntrospectableClient;
25 class LorgnetteManagerClient; 25 class LorgnetteManagerClient;
26 class ModemMessagingClient; 26 class ModemMessagingClient;
27 class NfcAdapterClient;
28 class NfcDeviceClient;
29 class NfcManagerClient;
30 class NfcRecordClient;
31 class NfcTagClient;
32 class PermissionBrokerClient; 27 class PermissionBrokerClient;
33 class PowerManagerClient; 28 class PowerManagerClient;
34 class SMSClient; 29 class SMSClient;
35 class SessionManagerClient; 30 class SessionManagerClient;
36 class ShillDeviceClient; 31 class ShillDeviceClient;
37 class ShillIPConfigClient; 32 class ShillIPConfigClient;
38 class ShillManagerClient; 33 class ShillManagerClient;
39 class ShillProfileClient; 34 class ShillProfileClient;
40 class ShillServiceClient; 35 class ShillServiceClient;
41 class ShillThirdPartyVpnDriverClient; 36 class ShillThirdPartyVpnDriverClient;
(...skipping 16 matching lines...) Expand all
58 CROS_DISKS = 1 << 2, 53 CROS_DISKS = 1 << 2,
59 CRYPTOHOME = 1 << 3, 54 CRYPTOHOME = 1 << 3,
60 DEBUG_DAEMON = 1 << 4, 55 DEBUG_DAEMON = 1 << 4,
61 EASY_UNLOCK = 1 << 5, 56 EASY_UNLOCK = 1 << 5,
62 LORGNETTE_MANAGER = 1 << 6, 57 LORGNETTE_MANAGER = 1 << 6,
63 SHILL = 1 << 7, 58 SHILL = 1 << 7,
64 GSM_SMS = 1 << 8, 59 GSM_SMS = 1 << 8,
65 IMAGE_BURNER = 1 << 9, 60 IMAGE_BURNER = 1 << 9,
66 INTROSPECTABLE = 1 << 10, 61 INTROSPECTABLE = 1 << 10,
67 MODEM_MESSAGING = 1 << 11, 62 MODEM_MESSAGING = 1 << 11,
68 NFC = 1 << 12, 63 PERMISSION_BROKER = 1 << 12,
69 PERMISSION_BROKER = 1 << 13, 64 POWER_MANAGER = 1 << 13,
70 POWER_MANAGER = 1 << 14, 65 SESSION_MANAGER = 1 << 14,
71 SESSION_MANAGER = 1 << 15, 66 SMS = 1 << 15,
72 SMS = 1 << 16, 67 SYSTEM_CLOCK = 1 << 16,
73 SYSTEM_CLOCK = 1 << 17, 68 UPDATE_ENGINE = 1 << 17,
74 UPDATE_ENGINE = 1 << 18, 69 ARC_OBB_MOUNTER = 1 << 18,
75 ARC_OBB_MOUNTER = 1 << 19,
76 }; 70 };
77 71
78 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask); 72 explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask);
79 ~DBusClientBundle(); 73 ~DBusClientBundle();
80 74
81 // Returns true if |client| is stubbed. 75 // Returns true if |client| is stubbed.
82 bool IsUsingStub(DBusClientType client); 76 bool IsUsingStub(DBusClientType client);
83 77
84 // Returns true if any real DBusClient is used. 78 // Returns true if any real DBusClient is used.
85 bool IsUsingAnyRealClient(); 79 bool IsUsingAnyRealClient();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 146 }
153 147
154 IntrospectableClient* introspectable_client() { 148 IntrospectableClient* introspectable_client() {
155 return introspectable_client_.get(); 149 return introspectable_client_.get();
156 } 150 }
157 151
158 ModemMessagingClient* modem_messaging_client() { 152 ModemMessagingClient* modem_messaging_client() {
159 return modem_messaging_client_.get(); 153 return modem_messaging_client_.get();
160 } 154 }
161 155
162 NfcManagerClient* nfc_manager_client() {
163 return nfc_manager_client_.get();
164 }
165
166 NfcAdapterClient* nfc_adapter_client() {
167 return nfc_adapter_client_.get();
168 }
169
170 NfcDeviceClient* nfc_device_client() {
171 return nfc_device_client_.get();
172 }
173
174 NfcTagClient* nfc_tag_client() {
175 return nfc_tag_client_.get();
176 }
177
178 NfcRecordClient* nfc_record_client() {
179 return nfc_record_client_.get();
180 }
181
182 PermissionBrokerClient* permission_broker_client() { 156 PermissionBrokerClient* permission_broker_client() {
183 return permission_broker_client_.get(); 157 return permission_broker_client_.get();
184 } 158 }
185 159
186 SystemClockClient* system_clock_client() { 160 SystemClockClient* system_clock_client() {
187 return system_clock_client_.get(); 161 return system_clock_client_.get();
188 } 162 }
189 163
190 PowerManagerClient* power_manager_client() { 164 PowerManagerClient* power_manager_client() {
191 return power_manager_client_.get(); 165 return power_manager_client_.get();
(...skipping 29 matching lines...) Expand all
221 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_; 195 std::unique_ptr<ShillIPConfigClient> shill_ipconfig_client_;
222 std::unique_ptr<ShillManagerClient> shill_manager_client_; 196 std::unique_ptr<ShillManagerClient> shill_manager_client_;
223 std::unique_ptr<ShillServiceClient> shill_service_client_; 197 std::unique_ptr<ShillServiceClient> shill_service_client_;
224 std::unique_ptr<ShillProfileClient> shill_profile_client_; 198 std::unique_ptr<ShillProfileClient> shill_profile_client_;
225 std::unique_ptr<ShillThirdPartyVpnDriverClient> 199 std::unique_ptr<ShillThirdPartyVpnDriverClient>
226 shill_third_party_vpn_driver_client_; 200 shill_third_party_vpn_driver_client_;
227 std::unique_ptr<GsmSMSClient> gsm_sms_client_; 201 std::unique_ptr<GsmSMSClient> gsm_sms_client_;
228 std::unique_ptr<ImageBurnerClient> image_burner_client_; 202 std::unique_ptr<ImageBurnerClient> image_burner_client_;
229 std::unique_ptr<IntrospectableClient> introspectable_client_; 203 std::unique_ptr<IntrospectableClient> introspectable_client_;
230 std::unique_ptr<ModemMessagingClient> modem_messaging_client_; 204 std::unique_ptr<ModemMessagingClient> modem_messaging_client_;
231 // The declaration order for NFC client objects is important. See
232 // DBusThreadManager::InitializeClients for the dependencies.
233 std::unique_ptr<NfcManagerClient> nfc_manager_client_;
234 std::unique_ptr<NfcAdapterClient> nfc_adapter_client_;
235 std::unique_ptr<NfcDeviceClient> nfc_device_client_;
236 std::unique_ptr<NfcTagClient> nfc_tag_client_;
237 std::unique_ptr<NfcRecordClient> nfc_record_client_;
238 std::unique_ptr<PermissionBrokerClient> permission_broker_client_; 205 std::unique_ptr<PermissionBrokerClient> permission_broker_client_;
239 std::unique_ptr<SystemClockClient> system_clock_client_; 206 std::unique_ptr<SystemClockClient> system_clock_client_;
240 std::unique_ptr<PowerManagerClient> power_manager_client_; 207 std::unique_ptr<PowerManagerClient> power_manager_client_;
241 std::unique_ptr<SessionManagerClient> session_manager_client_; 208 std::unique_ptr<SessionManagerClient> session_manager_client_;
242 std::unique_ptr<SMSClient> sms_client_; 209 std::unique_ptr<SMSClient> sms_client_;
243 std::unique_ptr<UpdateEngineClient> update_engine_client_; 210 std::unique_ptr<UpdateEngineClient> update_engine_client_;
244 211
245 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle); 212 DISALLOW_COPY_AND_ASSIGN(DBusClientBundle);
246 }; 213 };
247 214
248 } // namespace chromeos 215 } // namespace chromeos
249 216
250 #endif // CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_ 217 #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