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 "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 class DBusThreadManagerObserver; | 22 class DBusThreadManagerObserver; |
23 class MockBluetoothAdapterClient; | 23 class MockBluetoothAdapterClient; |
24 class MockBluetoothDeviceClient; | 24 class MockBluetoothDeviceClient; |
25 class MockBluetoothInputClient; | 25 class MockBluetoothInputClient; |
26 class MockBluetoothManagerClient; | 26 class MockBluetoothManagerClient; |
27 class MockBluetoothNodeClient; | 27 class MockBluetoothNodeClient; |
28 class MockBluetoothOutOfBandClient; | 28 class MockBluetoothOutOfBandClient; |
29 class MockCrosDisksClient; | 29 class MockCrosDisksClient; |
30 class MockCryptohomeClient; | 30 class MockCryptohomeClient; |
31 class MockDebugDaemonClient; | 31 class MockDebugDaemonClient; |
| 32 class MockExperimentalBluetoothAdapterClient; |
| 33 class MockExperimentalBluetoothAgentManagerClient; |
| 34 class MockExperimentalBluetoothDeviceClient; |
| 35 class MockExperimentalBluetoothProfileManagerClient; |
32 class MockShillDeviceClient; | 36 class MockShillDeviceClient; |
33 class MockShillIPConfigClient; | 37 class MockShillIPConfigClient; |
34 class MockShillManagerClient; | 38 class MockShillManagerClient; |
35 class MockShillProfileClient; | 39 class MockShillProfileClient; |
36 class MockShillServiceClient; | 40 class MockShillServiceClient; |
37 class MockGsmSMSClient; | 41 class MockGsmSMSClient; |
38 class MockImageBurnerClient; | 42 class MockImageBurnerClient; |
39 class MockIntrospectableClient; | 43 class MockIntrospectableClient; |
40 class MockModemMessagingClient; | 44 class MockModemMessagingClient; |
41 class MockPermissionBrokerClient; | 45 class MockPermissionBrokerClient; |
(...skipping 20 matching lines...) Expand all Loading... |
62 MOCK_METHOD0(GetIBusBus, dbus::Bus*(void)); | 66 MOCK_METHOD0(GetIBusBus, dbus::Bus*(void)); |
63 MOCK_METHOD0(GetBluetoothAdapterClient, BluetoothAdapterClient*(void)); | 67 MOCK_METHOD0(GetBluetoothAdapterClient, BluetoothAdapterClient*(void)); |
64 MOCK_METHOD0(GetBluetoothDeviceClient, BluetoothDeviceClient*(void)); | 68 MOCK_METHOD0(GetBluetoothDeviceClient, BluetoothDeviceClient*(void)); |
65 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void)); | 69 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void)); |
66 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void)); | 70 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void)); |
67 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void)); | 71 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void)); |
68 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void)); | 72 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void)); |
69 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void)); | 73 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void)); |
70 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void)); | 74 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void)); |
71 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); | 75 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); |
| 76 MOCK_METHOD0(GetExperimentalBluetoothAdapterClient, |
| 77 ExperimentalBluetoothAdapterClient*(void)); |
| 78 MOCK_METHOD0(GetExperimentalBluetoothAgentManagerClient, |
| 79 ExperimentalBluetoothAgentManagerClient*(void)); |
| 80 MOCK_METHOD0(GetExperimentalBluetoothDeviceClient, |
| 81 ExperimentalBluetoothDeviceClient*(void)); |
| 82 MOCK_METHOD0(GetExperimentalBluetoothProfileManagerClient, |
| 83 ExperimentalBluetoothProfileManagerClient*(void)); |
72 MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void)); | 84 MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void)); |
73 MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void)); | 85 MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void)); |
74 MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void)); | 86 MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void)); |
75 MOCK_METHOD0(GetShillProfileClient, ShillProfileClient*(void)); | 87 MOCK_METHOD0(GetShillProfileClient, ShillProfileClient*(void)); |
76 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); | 88 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); |
77 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); | 89 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); |
78 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); | 90 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); |
79 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); | 91 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); |
80 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); | 92 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); |
81 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); | 93 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } | 127 } |
116 MockCrosDisksClient* mock_cros_disks_client() { | 128 MockCrosDisksClient* mock_cros_disks_client() { |
117 return mock_cros_disks_client_.get(); | 129 return mock_cros_disks_client_.get(); |
118 } | 130 } |
119 MockCryptohomeClient* mock_cryptohome_client() { | 131 MockCryptohomeClient* mock_cryptohome_client() { |
120 return mock_cryptohome_client_.get(); | 132 return mock_cryptohome_client_.get(); |
121 } | 133 } |
122 MockDebugDaemonClient* mock_debugdaemon_client() { | 134 MockDebugDaemonClient* mock_debugdaemon_client() { |
123 return mock_debugdaemon_client_.get(); | 135 return mock_debugdaemon_client_.get(); |
124 } | 136 } |
| 137 MockExperimentalBluetoothAdapterClient* |
| 138 mock_experimental_bluetooth_adapter_client() { |
| 139 return mock_experimental_bluetooth_adapter_client_.get(); |
| 140 } |
| 141 MockExperimentalBluetoothAgentManagerClient* |
| 142 mock_experimental_bluetooth_agent_manager_client() { |
| 143 return mock_experimental_bluetooth_agent_manager_client_.get(); |
| 144 } |
| 145 MockExperimentalBluetoothDeviceClient* |
| 146 mock_experimental_bluetooth_device_client() { |
| 147 return mock_experimental_bluetooth_device_client_.get(); |
| 148 } |
| 149 MockExperimentalBluetoothProfileManagerClient* |
| 150 mock_experimental_bluetooth_profile_manager_client() { |
| 151 return mock_experimental_bluetooth_profile_manager_client_.get(); |
| 152 } |
125 MockShillDeviceClient* mock_shill_device_client() { | 153 MockShillDeviceClient* mock_shill_device_client() { |
126 return mock_shill_device_client_.get(); | 154 return mock_shill_device_client_.get(); |
127 } | 155 } |
128 MockShillIPConfigClient* mock_shill_ipconfig_client() { | 156 MockShillIPConfigClient* mock_shill_ipconfig_client() { |
129 return mock_shill_ipconfig_client_.get(); | 157 return mock_shill_ipconfig_client_.get(); |
130 } | 158 } |
131 MockShillManagerClient* mock_shill_manager_client() { | 159 MockShillManagerClient* mock_shill_manager_client() { |
132 return mock_shill_manager_client_.get(); | 160 return mock_shill_manager_client_.get(); |
133 } | 161 } |
134 MockShillProfileClient* mock_shill_profile_client() { | 162 MockShillProfileClient* mock_shill_profile_client() { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 203 |
176 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_; | 204 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_; |
177 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_; | 205 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_; |
178 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; | 206 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; |
179 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; | 207 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; |
180 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; | 208 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; |
181 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; | 209 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; |
182 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; | 210 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; |
183 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; | 211 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; |
184 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; | 212 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; |
| 213 scoped_ptr<MockExperimentalBluetoothAdapterClient> |
| 214 mock_experimental_bluetooth_adapter_client_; |
| 215 scoped_ptr<MockExperimentalBluetoothAgentManagerClient> |
| 216 mock_experimental_bluetooth_agent_manager_client_; |
| 217 scoped_ptr<MockExperimentalBluetoothDeviceClient> |
| 218 mock_experimental_bluetooth_device_client_; |
| 219 scoped_ptr<MockExperimentalBluetoothProfileManagerClient> |
| 220 mock_experimental_bluetooth_profile_manager_client_; |
185 scoped_ptr<MockShillDeviceClient> mock_shill_device_client_; | 221 scoped_ptr<MockShillDeviceClient> mock_shill_device_client_; |
186 scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_; | 222 scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_; |
187 scoped_ptr<MockShillManagerClient> mock_shill_manager_client_; | 223 scoped_ptr<MockShillManagerClient> mock_shill_manager_client_; |
188 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_; | 224 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_; |
189 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; | 225 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; |
190 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; | 226 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; |
191 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; | 227 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; |
192 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; | 228 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; |
193 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; | 229 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; |
194 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_; | 230 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_; |
195 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; | 231 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; |
196 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; | 232 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; |
197 scoped_ptr<MockSMSClient> mock_sms_client_; | 233 scoped_ptr<MockSMSClient> mock_sms_client_; |
198 scoped_ptr<MockSystemClockClient> mock_system_clock_client_; | 234 scoped_ptr<MockSystemClockClient> mock_system_clock_client_; |
199 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; | 235 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; |
200 scoped_ptr<PowerPolicyController> power_policy_controller_; | 236 scoped_ptr<PowerPolicyController> power_policy_controller_; |
201 | 237 |
202 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 238 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
203 }; | 239 }; |
204 | 240 |
205 } // namespace chromeos | 241 } // namespace chromeos |
206 | 242 |
207 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 243 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |