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

Side by Side Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 10915106: Renaming instances of "flimflam" with "shill", now that we're only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Upload after merge Created 8 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/dbus_thread_manager.h ('k') | chromeos/dbus/flimflam_client_helper.h » ('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 (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 #include "chromeos/dbus/dbus_thread_manager.h" 5 #include "chromeos/dbus/dbus_thread_manager.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/chromeos/chromeos_version.h" 9 #include "base/chromeos/chromeos_version.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "chromeos/chromeos_switches.h" 12 #include "chromeos/chromeos_switches.h"
13 #include "chromeos/dbus/bluetooth_adapter_client.h" 13 #include "chromeos/dbus/bluetooth_adapter_client.h"
14 #include "chromeos/dbus/bluetooth_device_client.h" 14 #include "chromeos/dbus/bluetooth_device_client.h"
15 #include "chromeos/dbus/bluetooth_input_client.h" 15 #include "chromeos/dbus/bluetooth_input_client.h"
16 #include "chromeos/dbus/bluetooth_manager_client.h" 16 #include "chromeos/dbus/bluetooth_manager_client.h"
17 #include "chromeos/dbus/bluetooth_node_client.h" 17 #include "chromeos/dbus/bluetooth_node_client.h"
18 #include "chromeos/dbus/bluetooth_out_of_band_client.h" 18 #include "chromeos/dbus/bluetooth_out_of_band_client.h"
19 #include "chromeos/dbus/cashew_client.h" 19 #include "chromeos/dbus/cashew_client.h"
20 #include "chromeos/dbus/cros_disks_client.h" 20 #include "chromeos/dbus/cros_disks_client.h"
21 #include "chromeos/dbus/cryptohome_client.h" 21 #include "chromeos/dbus/cryptohome_client.h"
22 #include "chromeos/dbus/dbus_client_implementation_type.h" 22 #include "chromeos/dbus/dbus_client_implementation_type.h"
23 #include "chromeos/dbus/debug_daemon_client.h" 23 #include "chromeos/dbus/debug_daemon_client.h"
24 #include "chromeos/dbus/flimflam_device_client.h" 24 #include "chromeos/dbus/shill_device_client.h"
25 #include "chromeos/dbus/flimflam_ipconfig_client.h" 25 #include "chromeos/dbus/shill_ipconfig_client.h"
26 #include "chromeos/dbus/flimflam_manager_client.h" 26 #include "chromeos/dbus/shill_manager_client.h"
27 #include "chromeos/dbus/flimflam_network_client.h" 27 #include "chromeos/dbus/shill_network_client.h"
28 #include "chromeos/dbus/flimflam_profile_client.h" 28 #include "chromeos/dbus/shill_profile_client.h"
29 #include "chromeos/dbus/flimflam_service_client.h" 29 #include "chromeos/dbus/shill_service_client.h"
30 #include "chromeos/dbus/gsm_sms_client.h" 30 #include "chromeos/dbus/gsm_sms_client.h"
31 #include "chromeos/dbus/ibus/ibus_client.h" 31 #include "chromeos/dbus/ibus/ibus_client.h"
32 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h" 32 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
33 #include "chromeos/dbus/ibus/ibus_engine_service.h" 33 #include "chromeos/dbus/ibus/ibus_engine_service.h"
34 #include "chromeos/dbus/ibus/ibus_input_context_client.h" 34 #include "chromeos/dbus/ibus/ibus_input_context_client.h"
35 #include "chromeos/dbus/image_burner_client.h" 35 #include "chromeos/dbus/image_burner_client.h"
36 #include "chromeos/dbus/introspectable_client.h" 36 #include "chromeos/dbus/introspectable_client.h"
37 #include "chromeos/dbus/media_transfer_protocol_daemon_client.h" 37 #include "chromeos/dbus/media_transfer_protocol_daemon_client.h"
38 #include "chromeos/dbus/modem_messaging_client.h" 38 #include "chromeos/dbus/modem_messaging_client.h"
39 #include "chromeos/dbus/permission_broker_client.h" 39 #include "chromeos/dbus/permission_broker_client.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 cashew_client_.reset(CashewClient::Create(client_type, system_bus_.get())); 90 cashew_client_.reset(CashewClient::Create(client_type, system_bus_.get()));
91 // Create the cros-disks client. 91 // Create the cros-disks client.
92 cros_disks_client_.reset( 92 cros_disks_client_.reset(
93 CrosDisksClient::Create(client_type, system_bus_.get())); 93 CrosDisksClient::Create(client_type, system_bus_.get()));
94 // Create the Cryptohome client. 94 // Create the Cryptohome client.
95 cryptohome_client_.reset( 95 cryptohome_client_.reset(
96 CryptohomeClient::Create(client_type, system_bus_.get())); 96 CryptohomeClient::Create(client_type, system_bus_.get()));
97 // Create the debugdaemon client. 97 // Create the debugdaemon client.
98 debugdaemon_client_.reset( 98 debugdaemon_client_.reset(
99 DebugDaemonClient::Create(client_type, system_bus_.get())); 99 DebugDaemonClient::Create(client_type, system_bus_.get()));
100 // Create the Flimflam Device client. 100 // Create the Shill Device client.
101 flimflam_device_client_.reset( 101 shill_device_client_.reset(
102 FlimflamDeviceClient::Create(client_type, system_bus_.get())); 102 ShillDeviceClient::Create(client_type, system_bus_.get()));
103 // Create the Flimflam IPConfig client. 103 // Create the Shill IPConfig client.
104 flimflam_ipconfig_client_.reset( 104 shill_ipconfig_client_.reset(
105 FlimflamIPConfigClient::Create(client_type, system_bus_.get())); 105 ShillIPConfigClient::Create(client_type, system_bus_.get()));
106 // Create the Flimflam Manager client. 106 // Create the Shill Manager client.
107 flimflam_manager_client_.reset( 107 shill_manager_client_.reset(
108 FlimflamManagerClient::Create(client_type, system_bus_.get())); 108 ShillManagerClient::Create(client_type, system_bus_.get()));
109 // Create the Flimflam Network client. 109 // Create the Shill Network client.
110 flimflam_network_client_.reset( 110 shill_network_client_.reset(
111 FlimflamNetworkClient::Create(client_type, system_bus_.get())); 111 ShillNetworkClient::Create(client_type, system_bus_.get()));
112 // Create the Flimflam Profile client. 112 // Create the Shill Profile client.
113 flimflam_profile_client_.reset( 113 shill_profile_client_.reset(
114 FlimflamProfileClient::Create(client_type, system_bus_.get())); 114 ShillProfileClient::Create(client_type, system_bus_.get()));
115 // Create the Flimflam Service client. 115 // Create the Shill Service client.
116 flimflam_service_client_.reset( 116 shill_service_client_.reset(
117 FlimflamServiceClient::Create(client_type, system_bus_.get())); 117 ShillServiceClient::Create(client_type, system_bus_.get()));
118 // Create the Gsm SMS client. 118 // Create the Gsm SMS client.
119 gsm_sms_client_.reset( 119 gsm_sms_client_.reset(
120 GsmSMSClient::Create(client_type, system_bus_.get())); 120 GsmSMSClient::Create(client_type, system_bus_.get()));
121 // Create the image burner client. 121 // Create the image burner client.
122 image_burner_client_.reset(ImageBurnerClient::Create(client_type, 122 image_burner_client_.reset(ImageBurnerClient::Create(client_type,
123 system_bus_.get())); 123 system_bus_.get()));
124 // Create the introspectable object client. 124 // Create the introspectable object client.
125 introspectable_client_.reset( 125 introspectable_client_.reset(
126 IntrospectableClient::Create(client_type, system_bus_.get())); 126 IntrospectableClient::Create(client_type, system_bus_.get()));
127 // Create the media transfer protocol daemon client. 127 // Create the media transfer protocol daemon client.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 virtual CryptohomeClient* GetCryptohomeClient() OVERRIDE { 255 virtual CryptohomeClient* GetCryptohomeClient() OVERRIDE {
256 return cryptohome_client_.get(); 256 return cryptohome_client_.get();
257 } 257 }
258 258
259 // DBusThreadManager override. 259 // DBusThreadManager override.
260 virtual DebugDaemonClient* GetDebugDaemonClient() OVERRIDE { 260 virtual DebugDaemonClient* GetDebugDaemonClient() OVERRIDE {
261 return debugdaemon_client_.get(); 261 return debugdaemon_client_.get();
262 } 262 }
263 263
264 // DBusThreadManager override. 264 // DBusThreadManager override.
265 virtual FlimflamDeviceClient* GetFlimflamDeviceClient() OVERRIDE { 265 virtual ShillDeviceClient* GetShillDeviceClient() OVERRIDE {
266 return flimflam_device_client_.get(); 266 return shill_device_client_.get();
267 } 267 }
268 268
269 // DBusThreadManager override. 269 // DBusThreadManager override.
270 virtual FlimflamIPConfigClient* GetFlimflamIPConfigClient() OVERRIDE { 270 virtual ShillIPConfigClient* GetShillIPConfigClient() OVERRIDE {
271 return flimflam_ipconfig_client_.get(); 271 return shill_ipconfig_client_.get();
272 } 272 }
273 273
274 // DBusThreadManager override. 274 // DBusThreadManager override.
275 virtual FlimflamManagerClient* GetFlimflamManagerClient() OVERRIDE { 275 virtual ShillManagerClient* GetShillManagerClient() OVERRIDE {
276 return flimflam_manager_client_.get(); 276 return shill_manager_client_.get();
277 } 277 }
278 278
279 // DBusThreadManager override. 279 // DBusThreadManager override.
280 virtual FlimflamNetworkClient* GetFlimflamNetworkClient() OVERRIDE { 280 virtual ShillNetworkClient* GetShillNetworkClient() OVERRIDE {
281 return flimflam_network_client_.get(); 281 return shill_network_client_.get();
282 } 282 }
283 283
284 // DBusThreadManager override. 284 // DBusThreadManager override.
285 virtual FlimflamProfileClient* GetFlimflamProfileClient() OVERRIDE { 285 virtual ShillProfileClient* GetShillProfileClient() OVERRIDE {
286 return flimflam_profile_client_.get(); 286 return shill_profile_client_.get();
287 } 287 }
288 288
289 // DBusThreadManager override. 289 // DBusThreadManager override.
290 virtual FlimflamServiceClient* GetFlimflamServiceClient() OVERRIDE { 290 virtual ShillServiceClient* GetShillServiceClient() OVERRIDE {
291 return flimflam_service_client_.get(); 291 return shill_service_client_.get();
292 } 292 }
293 293
294 // DBusThreadManager override. 294 // DBusThreadManager override.
295 virtual GsmSMSClient* GetGsmSMSClient() OVERRIDE { 295 virtual GsmSMSClient* GetGsmSMSClient() OVERRIDE {
296 return gsm_sms_client_.get(); 296 return gsm_sms_client_.get();
297 } 297 }
298 298
299 // DBusThreadManager override. 299 // DBusThreadManager override.
300 virtual ImageBurnerClient* GetImageBurnerClient() OVERRIDE { 300 virtual ImageBurnerClient* GetImageBurnerClient() OVERRIDE {
301 return image_burner_client_.get(); 301 return image_burner_client_.get();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_; 395 scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_;
396 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_; 396 scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_;
397 scoped_ptr<BluetoothInputClient> bluetooth_input_client_; 397 scoped_ptr<BluetoothInputClient> bluetooth_input_client_;
398 scoped_ptr<BluetoothManagerClient> bluetooth_manager_client_; 398 scoped_ptr<BluetoothManagerClient> bluetooth_manager_client_;
399 scoped_ptr<BluetoothNodeClient> bluetooth_node_client_; 399 scoped_ptr<BluetoothNodeClient> bluetooth_node_client_;
400 scoped_ptr<BluetoothOutOfBandClient> bluetooth_out_of_band_client_; 400 scoped_ptr<BluetoothOutOfBandClient> bluetooth_out_of_band_client_;
401 scoped_ptr<CashewClient> cashew_client_; 401 scoped_ptr<CashewClient> cashew_client_;
402 scoped_ptr<CrosDisksClient> cros_disks_client_; 402 scoped_ptr<CrosDisksClient> cros_disks_client_;
403 scoped_ptr<CryptohomeClient> cryptohome_client_; 403 scoped_ptr<CryptohomeClient> cryptohome_client_;
404 scoped_ptr<DebugDaemonClient> debugdaemon_client_; 404 scoped_ptr<DebugDaemonClient> debugdaemon_client_;
405 scoped_ptr<FlimflamDeviceClient> flimflam_device_client_; 405 scoped_ptr<ShillDeviceClient> shill_device_client_;
406 scoped_ptr<FlimflamIPConfigClient> flimflam_ipconfig_client_; 406 scoped_ptr<ShillIPConfigClient> shill_ipconfig_client_;
407 scoped_ptr<FlimflamManagerClient> flimflam_manager_client_; 407 scoped_ptr<ShillManagerClient> shill_manager_client_;
408 scoped_ptr<FlimflamNetworkClient> flimflam_network_client_; 408 scoped_ptr<ShillNetworkClient> shill_network_client_;
409 scoped_ptr<FlimflamProfileClient> flimflam_profile_client_; 409 scoped_ptr<ShillProfileClient> shill_profile_client_;
410 scoped_ptr<FlimflamServiceClient> flimflam_service_client_; 410 scoped_ptr<ShillServiceClient> shill_service_client_;
411 scoped_ptr<GsmSMSClient> gsm_sms_client_; 411 scoped_ptr<GsmSMSClient> gsm_sms_client_;
412 scoped_ptr<ImageBurnerClient> image_burner_client_; 412 scoped_ptr<ImageBurnerClient> image_burner_client_;
413 scoped_ptr<IntrospectableClient> introspectable_client_; 413 scoped_ptr<IntrospectableClient> introspectable_client_;
414 scoped_ptr<MediaTransferProtocolDaemonClient> 414 scoped_ptr<MediaTransferProtocolDaemonClient>
415 media_transfer_protocol_daemon_client_; 415 media_transfer_protocol_daemon_client_;
416 scoped_ptr<ModemMessagingClient> modem_messaging_client_; 416 scoped_ptr<ModemMessagingClient> modem_messaging_client_;
417 scoped_ptr<PermissionBrokerClient> permission_broker_client_; 417 scoped_ptr<PermissionBrokerClient> permission_broker_client_;
418 scoped_ptr<PowerManagerClient> power_manager_client_; 418 scoped_ptr<PowerManagerClient> power_manager_client_;
419 scoped_ptr<SessionManagerClient> session_manager_client_; 419 scoped_ptr<SessionManagerClient> session_manager_client_;
420 scoped_ptr<SMSClient> sms_client_; 420 scoped_ptr<SMSClient> sms_client_;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 484 }
485 485
486 // static 486 // static
487 DBusThreadManager* DBusThreadManager::Get() { 487 DBusThreadManager* DBusThreadManager::Get() {
488 CHECK(g_dbus_thread_manager) 488 CHECK(g_dbus_thread_manager)
489 << "DBusThreadManager::Get() called before Initialize()"; 489 << "DBusThreadManager::Get() called before Initialize()";
490 return g_dbus_thread_manager; 490 return g_dbus_thread_manager;
491 } 491 }
492 492
493 } // namespace chromeos 493 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | chromeos/dbus/flimflam_client_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698