| OLD | NEW |
| 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 #ifndef CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class MockBluetoothAdapterClient; | 21 class MockBluetoothAdapterClient; |
| 22 class MockBluetoothDeviceClient; | 22 class MockBluetoothDeviceClient; |
| 23 class MockBluetoothInputClient; | 23 class MockBluetoothInputClient; |
| 24 class MockBluetoothManagerClient; | 24 class MockBluetoothManagerClient; |
| 25 class MockBluetoothNodeClient; | 25 class MockBluetoothNodeClient; |
| 26 class MockBluetoothOutOfBandClient; | 26 class MockBluetoothOutOfBandClient; |
| 27 class MockCashewClient; | 27 class MockCashewClient; |
| 28 class MockCrosDisksClient; | 28 class MockCrosDisksClient; |
| 29 class MockCryptohomeClient; | 29 class MockCryptohomeClient; |
| 30 class MockDebugDaemonClient; | 30 class MockDebugDaemonClient; |
| 31 class MockFlimflamDeviceClient; | 31 class MockShillDeviceClient; |
| 32 class MockFlimflamIPConfigClient; | 32 class MockShillIPConfigClient; |
| 33 class MockFlimflamManagerClient; | 33 class MockShillManagerClient; |
| 34 class MockFlimflamNetworkClient; | 34 class MockShillNetworkClient; |
| 35 class MockFlimflamProfileClient; | 35 class MockShillProfileClient; |
| 36 class MockFlimflamServiceClient; | 36 class MockShillServiceClient; |
| 37 class MockGsmSMSClient; | 37 class MockGsmSMSClient; |
| 38 class MockImageBurnerClient; | 38 class MockImageBurnerClient; |
| 39 class MockIntrospectableClient; | 39 class MockIntrospectableClient; |
| 40 class MockMediaTransferProtocolDaemonClient; | 40 class MockMediaTransferProtocolDaemonClient; |
| 41 class MockModemMessagingClient; | 41 class MockModemMessagingClient; |
| 42 class MockPermissionBrokerClient; | 42 class MockPermissionBrokerClient; |
| 43 class MockPowerManagerClient; | 43 class MockPowerManagerClient; |
| 44 class MockSessionManagerClient; | 44 class MockSessionManagerClient; |
| 45 class MockSMSClient; | 45 class MockSMSClient; |
| 46 class MockSpeechSynthesizerClient; | 46 class MockSpeechSynthesizerClient; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 60 MOCK_METHOD0(GetBluetoothAdapterClient, BluetoothAdapterClient*(void)); | 60 MOCK_METHOD0(GetBluetoothAdapterClient, BluetoothAdapterClient*(void)); |
| 61 MOCK_METHOD0(GetBluetoothDeviceClient, BluetoothDeviceClient*(void)); | 61 MOCK_METHOD0(GetBluetoothDeviceClient, BluetoothDeviceClient*(void)); |
| 62 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void)); | 62 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void)); |
| 63 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void)); | 63 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void)); |
| 64 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void)); | 64 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void)); |
| 65 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void)); | 65 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void)); |
| 66 MOCK_METHOD0(GetCashewClient, CashewClient*(void)); | 66 MOCK_METHOD0(GetCashewClient, CashewClient*(void)); |
| 67 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void)); | 67 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void)); |
| 68 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void)); | 68 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void)); |
| 69 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); | 69 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); |
| 70 MOCK_METHOD0(GetFlimflamDeviceClient, FlimflamDeviceClient*(void)); | 70 MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void)); |
| 71 MOCK_METHOD0(GetFlimflamIPConfigClient, FlimflamIPConfigClient*(void)); | 71 MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void)); |
| 72 MOCK_METHOD0(GetFlimflamManagerClient, FlimflamManagerClient*(void)); | 72 MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void)); |
| 73 MOCK_METHOD0(GetFlimflamNetworkClient, FlimflamNetworkClient*(void)); | 73 MOCK_METHOD0(GetShillNetworkClient, ShillNetworkClient*(void)); |
| 74 MOCK_METHOD0(GetFlimflamProfileClient, FlimflamProfileClient*(void)); | 74 MOCK_METHOD0(GetShillProfileClient, ShillProfileClient*(void)); |
| 75 MOCK_METHOD0(GetFlimflamServiceClient, FlimflamServiceClient*(void)); | 75 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); |
| 76 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); | 76 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); |
| 77 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); | 77 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); |
| 78 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); | 78 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); |
| 79 MOCK_METHOD0(GetMediaTransferProtocolDaemonClient, | 79 MOCK_METHOD0(GetMediaTransferProtocolDaemonClient, |
| 80 MediaTransferProtocolDaemonClient*(void)); | 80 MediaTransferProtocolDaemonClient*(void)); |
| 81 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); | 81 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); |
| 82 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); | 82 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); |
| 83 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); | 83 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); |
| 84 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); | 84 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); |
| 85 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); | 85 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 116 } | 116 } |
| 117 MockCrosDisksClient* mock_cros_disks_client() { | 117 MockCrosDisksClient* mock_cros_disks_client() { |
| 118 return mock_cros_disks_client_.get(); | 118 return mock_cros_disks_client_.get(); |
| 119 } | 119 } |
| 120 MockCryptohomeClient* mock_cryptohome_client() { | 120 MockCryptohomeClient* mock_cryptohome_client() { |
| 121 return mock_cryptohome_client_.get(); | 121 return mock_cryptohome_client_.get(); |
| 122 } | 122 } |
| 123 MockDebugDaemonClient* mock_debugdaemon_client() { | 123 MockDebugDaemonClient* mock_debugdaemon_client() { |
| 124 return mock_debugdaemon_client_.get(); | 124 return mock_debugdaemon_client_.get(); |
| 125 } | 125 } |
| 126 MockFlimflamDeviceClient* mock_flimflam_device_client() { | 126 MockShillDeviceClient* mock_shill_device_client() { |
| 127 return mock_flimflam_device_client_.get(); | 127 return mock_shill_device_client_.get(); |
| 128 } | 128 } |
| 129 MockFlimflamIPConfigClient* mock_flimflam_ipconfig_client() { | 129 MockShillIPConfigClient* mock_shill_ipconfig_client() { |
| 130 return mock_flimflam_ipconfig_client_.get(); | 130 return mock_shill_ipconfig_client_.get(); |
| 131 } | 131 } |
| 132 MockFlimflamManagerClient* mock_flimflam_manager_client() { | 132 MockShillManagerClient* mock_shill_manager_client() { |
| 133 return mock_flimflam_manager_client_.get(); | 133 return mock_shill_manager_client_.get(); |
| 134 } | 134 } |
| 135 MockFlimflamNetworkClient* mock_flimflam_network_client() { | 135 MockShillNetworkClient* mock_shill_network_client() { |
| 136 return mock_flimflam_network_client_.get(); | 136 return mock_shill_network_client_.get(); |
| 137 } | 137 } |
| 138 MockFlimflamProfileClient* mock_flimflam_profile_client() { | 138 MockShillProfileClient* mock_shill_profile_client() { |
| 139 return mock_flimflam_profile_client_.get(); | 139 return mock_shill_profile_client_.get(); |
| 140 } | 140 } |
| 141 MockFlimflamServiceClient* mock_flimflam_service_client() { | 141 MockShillServiceClient* mock_shill_service_client() { |
| 142 return mock_flimflam_service_client_.get(); | 142 return mock_shill_service_client_.get(); |
| 143 } | 143 } |
| 144 MockGsmSMSClient* mock_gsm_sms_client() { | 144 MockGsmSMSClient* mock_gsm_sms_client() { |
| 145 return mock_gsm_sms_client_.get(); | 145 return mock_gsm_sms_client_.get(); |
| 146 } | 146 } |
| 147 MockImageBurnerClient* mock_image_burner_client() { | 147 MockImageBurnerClient* mock_image_burner_client() { |
| 148 return mock_image_burner_client_.get(); | 148 return mock_image_burner_client_.get(); |
| 149 } | 149 } |
| 150 MockIntrospectableClient* mock_introspectable_client() { | 150 MockIntrospectableClient* mock_introspectable_client() { |
| 151 return mock_introspectable_client_.get(); | 151 return mock_introspectable_client_.get(); |
| 152 } | 152 } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 180 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_; | 180 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_; |
| 181 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_; | 181 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_; |
| 182 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; | 182 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; |
| 183 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; | 183 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; |
| 184 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; | 184 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; |
| 185 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; | 185 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; |
| 186 scoped_ptr<MockCashewClient> mock_cashew_client_; | 186 scoped_ptr<MockCashewClient> mock_cashew_client_; |
| 187 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; | 187 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; |
| 188 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; | 188 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; |
| 189 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; | 189 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; |
| 190 scoped_ptr<MockFlimflamDeviceClient> mock_flimflam_device_client_; | 190 scoped_ptr<MockShillDeviceClient> mock_shill_device_client_; |
| 191 scoped_ptr<MockFlimflamIPConfigClient> mock_flimflam_ipconfig_client_; | 191 scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_; |
| 192 scoped_ptr<MockFlimflamManagerClient> mock_flimflam_manager_client_; | 192 scoped_ptr<MockShillManagerClient> mock_shill_manager_client_; |
| 193 scoped_ptr<MockFlimflamNetworkClient> mock_flimflam_network_client_; | 193 scoped_ptr<MockShillNetworkClient> mock_shill_network_client_; |
| 194 scoped_ptr<MockFlimflamProfileClient> mock_flimflam_profile_client_; | 194 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_; |
| 195 scoped_ptr<MockFlimflamServiceClient> mock_flimflam_service_client_; | 195 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; |
| 196 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; | 196 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; |
| 197 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; | 197 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; |
| 198 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; | 198 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; |
| 199 scoped_ptr<MockMediaTransferProtocolDaemonClient> | 199 scoped_ptr<MockMediaTransferProtocolDaemonClient> |
| 200 mock_media_transfer_protocol_daemon_client_; | 200 mock_media_transfer_protocol_daemon_client_; |
| 201 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; | 201 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; |
| 202 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_; | 202 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_; |
| 203 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; | 203 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; |
| 204 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; | 204 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; |
| 205 scoped_ptr<MockSMSClient> mock_sms_client_; | 205 scoped_ptr<MockSMSClient> mock_sms_client_; |
| 206 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; | 206 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; |
| 207 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; | 207 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; |
| 208 | 208 |
| 209 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 209 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
| 210 }; | 210 }; |
| 211 | 211 |
| 212 } // namespace chromeos | 212 } // namespace chromeos |
| 213 | 213 |
| 214 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 214 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
| OLD | NEW |