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_WITHOUT_GMOCK_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_WITHOUT_GMOCK_H_ |
6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_WITHOUT_GMOCK_H_ | 6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_WITHOUT_GMOCK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 class FakeBluetoothAdapterClient; | 22 class FakeBluetoothAdapterClient; |
23 class FakeBluetoothAgentManagerClient; | 23 class FakeBluetoothAgentManagerClient; |
24 class FakeBluetoothDeviceClient; | 24 class FakeBluetoothDeviceClient; |
25 class FakeBluetoothInputClient; | 25 class FakeBluetoothInputClient; |
26 class FakeBluetoothProfileManagerClient; | 26 class FakeBluetoothProfileManagerClient; |
27 class FakeCrosDisksClient; | 27 class FakeCrosDisksClient; |
28 class FakeCryptohomeClient; | 28 class FakeCryptohomeClient; |
29 class FakeOldBluetoothAdapterClient; | 29 class FakeOldBluetoothAdapterClient; |
30 class FakeOldBluetoothDeviceClient; | 30 class FakeOldBluetoothDeviceClient; |
31 class FakeOldBluetoothManagerClient; | 31 class FakeOldBluetoothManagerClient; |
32 class FakePowerManagerClient; | 32 class FakeShillManagerClient; |
33 class FakeImageBurnerClient; | 33 class FakeImageBurnerClient; |
34 class FakeSessionManagerClient; | |
35 class FakeShillManagerClient; | |
36 class FakeSystemClockClient; | 34 class FakeSystemClockClient; |
37 class FakeUpdateEngineClient; | |
38 class MockIBusClient; | 35 class MockIBusClient; |
39 class MockIBusConfigClient; | 36 class MockIBusConfigClient; |
40 class MockIBusEngineFactoryService; | 37 class MockIBusEngineFactoryService; |
41 class MockIBusEngineService; | 38 class MockIBusEngineService; |
42 class MockIBusInputContextClient; | 39 class MockIBusInputContextClient; |
43 class MockIBusPanelService; | 40 class MockIBusPanelService; |
44 | 41 |
45 // This class provides an another mock DBusThreadManager without gmock | 42 // This class provides an another mock DBusThreadManager without gmock |
46 // dependency. This class is used for places where GMock is not allowed | 43 // dependency. This class is used for places where GMock is not allowed |
47 // (ex. ui/) or is not used. | 44 // (ex. ui/) or is not used. |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 scoped_ptr<FakeBluetoothAdapterClient> fake_bluetooth_adapter_client_; | 171 scoped_ptr<FakeBluetoothAdapterClient> fake_bluetooth_adapter_client_; |
175 scoped_ptr<FakeBluetoothAgentManagerClient> | 172 scoped_ptr<FakeBluetoothAgentManagerClient> |
176 fake_bluetooth_agent_manager_client_; | 173 fake_bluetooth_agent_manager_client_; |
177 scoped_ptr<FakeBluetoothDeviceClient> fake_bluetooth_device_client_; | 174 scoped_ptr<FakeBluetoothDeviceClient> fake_bluetooth_device_client_; |
178 scoped_ptr<FakeBluetoothInputClient> fake_bluetooth_input_client_; | 175 scoped_ptr<FakeBluetoothInputClient> fake_bluetooth_input_client_; |
179 scoped_ptr<FakeBluetoothProfileManagerClient> | 176 scoped_ptr<FakeBluetoothProfileManagerClient> |
180 fake_bluetooth_profile_manager_client_; | 177 fake_bluetooth_profile_manager_client_; |
181 scoped_ptr<FakeCrosDisksClient> fake_cros_disks_client_; | 178 scoped_ptr<FakeCrosDisksClient> fake_cros_disks_client_; |
182 scoped_ptr<FakeCryptohomeClient> fake_cryptohome_client_; | 179 scoped_ptr<FakeCryptohomeClient> fake_cryptohome_client_; |
183 scoped_ptr<FakeImageBurnerClient> fake_image_burner_client_; | 180 scoped_ptr<FakeImageBurnerClient> fake_image_burner_client_; |
184 scoped_ptr<FakeSessionManagerClient> fake_session_manager_client_; | |
185 scoped_ptr<FakeShillManagerClient> fake_shill_manager_client_; | 181 scoped_ptr<FakeShillManagerClient> fake_shill_manager_client_; |
186 scoped_ptr<FakeSystemClockClient> fake_system_clock_client_; | 182 scoped_ptr<FakeSystemClockClient> fake_system_clock_client_; |
187 scoped_ptr<FakePowerManagerClient> fake_power_manager_client_; | |
188 scoped_ptr<FakeUpdateEngineClient> fake_update_engine_client_; | |
189 | 183 |
190 // These fake_old_bluetooth_*_client_ are for old Bluetooth*Client. | 184 // These fake_old_bluetooth_*_client_ are for old Bluetooth*Client. |
191 // Will be removed once http://crbug.com/221813 is resolved. | 185 // Will be removed once http://crbug.com/221813 is resolved. |
192 scoped_ptr<FakeOldBluetoothManagerClient> fake_old_bluetooth_manager_client_; | 186 scoped_ptr<FakeOldBluetoothManagerClient> fake_old_bluetooth_manager_client_; |
193 scoped_ptr<FakeOldBluetoothAdapterClient> fake_old_bluetooth_adapter_client_; | 187 scoped_ptr<FakeOldBluetoothAdapterClient> fake_old_bluetooth_adapter_client_; |
194 scoped_ptr<FakeOldBluetoothDeviceClient> fake_old_bluetooth_device_client_; | 188 scoped_ptr<FakeOldBluetoothDeviceClient> fake_old_bluetooth_device_client_; |
195 | 189 |
196 scoped_ptr<MockIBusClient> mock_ibus_client_; | 190 scoped_ptr<MockIBusClient> mock_ibus_client_; |
197 scoped_ptr<MockIBusConfigClient> mock_ibus_config_client_; | 191 scoped_ptr<MockIBusConfigClient> mock_ibus_config_client_; |
198 scoped_ptr<MockIBusInputContextClient> mock_ibus_input_context_client_; | 192 scoped_ptr<MockIBusInputContextClient> mock_ibus_input_context_client_; |
199 scoped_ptr<MockIBusEngineService> mock_ibus_engine_service_; | 193 scoped_ptr<MockIBusEngineService> mock_ibus_engine_service_; |
200 scoped_ptr<MockIBusEngineFactoryService> mock_ibus_engine_factory_service_; | 194 scoped_ptr<MockIBusEngineFactoryService> mock_ibus_engine_factory_service_; |
201 scoped_ptr<MockIBusPanelService> mock_ibus_panel_service_; | 195 scoped_ptr<MockIBusPanelService> mock_ibus_panel_service_; |
202 | 196 |
203 scoped_ptr<PowerPolicyController> power_policy_controller_; | |
204 dbus::Bus* ibus_bus_; | 197 dbus::Bus* ibus_bus_; |
205 | 198 |
206 ObserverList<DBusThreadManagerObserver> observers_; | 199 ObserverList<DBusThreadManagerObserver> observers_; |
207 | 200 |
208 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManagerWithoutGMock); | 201 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManagerWithoutGMock); |
209 }; | 202 }; |
210 | 203 |
211 } // namespace chromeos | 204 } // namespace chromeos |
212 | 205 |
213 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_WITHOUT_GMOCK_H_ | 206 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_WITHOUT_GMOCK_H_ |
OLD | NEW |