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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); | 80 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(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(GetRootPowerManagerClient, RootPowerManagerClient*(void)); | 84 MOCK_METHOD0(GetRootPowerManagerClient, RootPowerManagerClient*(void)); |
85 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); | 85 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); |
86 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); | 86 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); |
87 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); | 87 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); |
88 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); | 88 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); |
89 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); | 89 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); |
| 90 MOCK_METHOD0(GetIBusConfigClient, IBusConfigClient*(void)); |
90 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); | 91 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); |
91 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); | 92 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); |
92 MOCK_METHOD1(GetIBusEngineService, | 93 MOCK_METHOD1(GetIBusEngineService, |
93 IBusEngineService*(const dbus::ObjectPath& object_path)); | 94 IBusEngineService*(const dbus::ObjectPath& object_path)); |
94 MOCK_METHOD1(RemoveIBusEngineService, | 95 MOCK_METHOD1(RemoveIBusEngineService, |
95 void(const dbus::ObjectPath& object_path)); | 96 void(const dbus::ObjectPath& object_path)); |
96 MOCK_METHOD0(GetIBusPanelService, ibus::IBusPanelService*(void)); | 97 MOCK_METHOD0(GetIBusPanelService, ibus::IBusPanelService*(void)); |
97 | 98 |
98 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { | 99 MockBluetoothAdapterClient* mock_bluetooth_adapter_client() { |
99 return mock_bluetooth_adapter_client_.get(); | 100 return mock_bluetooth_adapter_client_.get(); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; | 204 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; |
204 | 205 |
205 ObserverList<DBusThreadManagerObserver> observers_; | 206 ObserverList<DBusThreadManagerObserver> observers_; |
206 | 207 |
207 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 208 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
208 }; | 209 }; |
209 | 210 |
210 } // namespace chromeos | 211 } // namespace chromeos |
211 | 212 |
212 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 213 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |