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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); | 78 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); |
79 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); | 79 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); |
80 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); | 80 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); |
81 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); | 81 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); |
82 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); | 82 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); |
83 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); | 83 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); |
84 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); | 84 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); |
85 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); | 85 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); |
86 MOCK_METHOD1(GetIBusEngineService, | 86 MOCK_METHOD1(GetIBusEngineService, |
87 IBusEngineService*(const dbus::ObjectPath& object_path)); | 87 IBusEngineService*(const dbus::ObjectPath& object_path)); |
| 88 MOCK_METHOD1(RemoveIBusEngineService, |
| 89 void(const dbus::ObjectPath& object_path)); |
88 | 90 |
89 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { | 91 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { |
90 return mock_bluetooth_adapter_client_.get(); | 92 return mock_bluetooth_adapter_client_.get(); |
91 } | 93 } |
92 MockBluetoothDeviceClient* mock_bluetooth_device_client() { | 94 MockBluetoothDeviceClient* mock_bluetooth_device_client() { |
93 return mock_bluetooth_device_client_.get(); | 95 return mock_bluetooth_device_client_.get(); |
94 } | 96 } |
95 MockBluetoothInputClient* mock_bluetooth_input_client() { | 97 MockBluetoothInputClient* mock_bluetooth_input_client() { |
96 return mock_bluetooth_input_client_.get(); | 98 return mock_bluetooth_input_client_.get(); |
97 } | 99 } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 scoped_ptr<MockSMSClient> mock_sms_client_; | 190 scoped_ptr<MockSMSClient> mock_sms_client_; |
189 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; | 191 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; |
190 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; | 192 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; |
191 | 193 |
192 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 194 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
193 }; | 195 }; |
194 | 196 |
195 } // namespace chromeos | 197 } // namespace chromeos |
196 | 198 |
197 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 199 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |