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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); | 83 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); |
84 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); | 84 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); |
85 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); | 85 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); |
86 MOCK_METHOD0(GetIBusConfigClient, IBusConfigClient*(void)); | 86 MOCK_METHOD0(GetIBusConfigClient, IBusConfigClient*(void)); |
87 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); | 87 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); |
88 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); | 88 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); |
89 MOCK_METHOD1(GetIBusEngineService, | 89 MOCK_METHOD1(GetIBusEngineService, |
90 IBusEngineService*(const dbus::ObjectPath& object_path)); | 90 IBusEngineService*(const dbus::ObjectPath& object_path)); |
91 MOCK_METHOD1(RemoveIBusEngineService, | 91 MOCK_METHOD1(RemoveIBusEngineService, |
92 void(const dbus::ObjectPath& object_path)); | 92 void(const dbus::ObjectPath& object_path)); |
93 MOCK_METHOD0(GetIBusPanelService, ibus::IBusPanelService*(void)); | 93 MOCK_METHOD0(GetIBusPanelService, IBusPanelService*(void)); |
94 | 94 |
95 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { | 95 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { |
96 return mock_bluetooth_adapter_client_.get(); | 96 return mock_bluetooth_adapter_client_.get(); |
97 } | 97 } |
98 MockBluetoothDeviceClient* mock_bluetooth_device_client() { | 98 MockBluetoothDeviceClient* mock_bluetooth_device_client() { |
99 return mock_bluetooth_device_client_.get(); | 99 return mock_bluetooth_device_client_.get(); |
100 } | 100 } |
101 MockBluetoothInputClient* mock_bluetooth_input_client() { | 101 MockBluetoothInputClient* mock_bluetooth_input_client() { |
102 return mock_bluetooth_input_client_.get(); | 102 return mock_bluetooth_input_client_.get(); |
103 } | 103 } |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; | 192 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; |
193 | 193 |
194 ObserverList<DBusThreadManagerObserver> observers_; | 194 ObserverList<DBusThreadManagerObserver> observers_; |
195 | 195 |
196 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 196 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
197 }; | 197 }; |
198 | 198 |
199 } // namespace chromeos | 199 } // namespace chromeos |
200 | 200 |
201 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 201 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |