Remove fake client creation from DBusClients' Create() functions.
commit6489b459d871f319d20c1ba37aa0ac2ed8bed78a
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 09:59:45 +0000 (3 09:59 +0000)
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 09:59:45 +0000 (3 09:59 +0000)
tree19cac61fca2f519cf5c7986e09b82f44218769c5
parent5d2cfdfe2bf4a5010fb00f8f03bf277d14f5641c
Remove fake client creation from DBusClients' Create() functions.

The DBusClient interfaces shouldn't provide functionality related to testing code (like Stubs/fake implementations).
Instead fake clients are now directly created without relying on the static Create() functions. The now unused DBusClientImplementationType argument of the Create() functions could be removed.

BUG=275286
R=satorux@chromium.org

Review URL: https://codereview.chromium.org/91413002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238330 0039d316-1c4b-4281-b951-d872f2087c98
61 files changed:
chromeos/dbus/bluetooth_adapter_client.cc
chromeos/dbus/bluetooth_adapter_client.h
chromeos/dbus/bluetooth_agent_manager_client.cc
chromeos/dbus/bluetooth_agent_manager_client.h
chromeos/dbus/bluetooth_device_client.cc
chromeos/dbus/bluetooth_device_client.h
chromeos/dbus/bluetooth_input_client.cc
chromeos/dbus/bluetooth_input_client.h
chromeos/dbus/bluetooth_profile_manager_client.cc
chromeos/dbus/bluetooth_profile_manager_client.h
chromeos/dbus/cras_audio_client.cc
chromeos/dbus/cras_audio_client.h
chromeos/dbus/cryptohome_client.cc
chromeos/dbus/cryptohome_client.h
chromeos/dbus/dbus_thread_manager.cc
chromeos/dbus/debug_daemon_client.h
chromeos/dbus/fake_bluetooth_adapter_client.h
chromeos/dbus/fake_bluetooth_agent_manager_client.h
chromeos/dbus/fake_bluetooth_agent_service_provider.h
chromeos/dbus/fake_bluetooth_device_client.h
chromeos/dbus/fake_bluetooth_input_client.h
chromeos/dbus/fake_bluetooth_profile_manager_client.h
chromeos/dbus/fake_bluetooth_profile_service_provider.h
chromeos/dbus/fake_dbus_thread_manager.cc
chromeos/dbus/gsm_sms_client.cc
chromeos/dbus/gsm_sms_client.h
chromeos/dbus/gsm_sms_client_unittest.cc
chromeos/dbus/image_burner_client.cc
chromeos/dbus/image_burner_client.h
chromeos/dbus/introspectable_client.h
chromeos/dbus/modem_messaging_client.h
chromeos/dbus/nfc_adapter_client.cc
chromeos/dbus/nfc_adapter_client.h
chromeos/dbus/nfc_client_unittest.cc
chromeos/dbus/nfc_device_client.cc
chromeos/dbus/nfc_device_client.h
chromeos/dbus/nfc_manager_client.cc
chromeos/dbus/nfc_manager_client.h
chromeos/dbus/nfc_record_client.cc
chromeos/dbus/nfc_record_client.h
chromeos/dbus/nfc_tag_client.cc
chromeos/dbus/nfc_tag_client.h
chromeos/dbus/permission_broker_client.h
chromeos/dbus/shill_device_client.cc
chromeos/dbus/shill_device_client.h
chromeos/dbus/shill_device_client_unittest.cc
chromeos/dbus/shill_ipconfig_client.cc
chromeos/dbus/shill_ipconfig_client.h
chromeos/dbus/shill_ipconfig_client_unittest.cc
chromeos/dbus/shill_manager_client.cc
chromeos/dbus/shill_manager_client.h
chromeos/dbus/shill_manager_client_unittest.cc
chromeos/dbus/shill_profile_client.cc
chromeos/dbus/shill_profile_client.h
chromeos/dbus/shill_profile_client_unittest.cc
chromeos/dbus/shill_service_client.cc
chromeos/dbus/shill_service_client.h
chromeos/dbus/shill_service_client_unittest.cc
chromeos/dbus/sms_client.h
chromeos/dbus/system_clock_client.cc
chromeos/dbus/system_clock_client.h