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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); | 78 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); |
79 MOCK_METHOD0(GetSystemClockClient, SystemClockClient*(void)); | 79 MOCK_METHOD0(GetSystemClockClient, SystemClockClient*(void)); |
80 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); | 80 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); |
81 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); | 81 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); |
82 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); | 82 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); |
83 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); | 83 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); |
84 MOCK_METHOD1(GetIBusEngineService, | 84 MOCK_METHOD1(GetIBusEngineService, |
85 IBusEngineService*(const dbus::ObjectPath& object_path)); | 85 IBusEngineService*(const dbus::ObjectPath& object_path)); |
86 MOCK_METHOD1(RemoveIBusEngineService, | 86 MOCK_METHOD1(RemoveIBusEngineService, |
87 void(const dbus::ObjectPath& object_path)); | 87 void(const dbus::ObjectPath& object_path)); |
88 MOCK_METHOD0(GetIBusPanelService, IBusPanelService*(void)); | |
89 | 88 |
90 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() { | 89 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() { |
91 return fake_bluetooth_adapter_client_.get(); | 90 return fake_bluetooth_adapter_client_.get(); |
92 } | 91 } |
93 FakeBluetoothAgentManagerClient* fake_bluetooth_agent_manager_client() { | 92 FakeBluetoothAgentManagerClient* fake_bluetooth_agent_manager_client() { |
94 return fake_bluetooth_agent_manager_client_.get(); | 93 return fake_bluetooth_agent_manager_client_.get(); |
95 } | 94 } |
96 FakeBluetoothDeviceClient* fake_bluetooth_device_client() { | 95 FakeBluetoothDeviceClient* fake_bluetooth_device_client() { |
97 return fake_bluetooth_device_client_.get(); | 96 return fake_bluetooth_device_client_.get(); |
98 } | 97 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; | 146 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; |
148 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; | 147 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; |
149 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; | 148 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; |
150 | 149 |
151 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); | 150 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); |
152 }; | 151 }; |
153 | 152 |
154 } // namespace chromeos | 153 } // namespace chromeos |
155 | 154 |
156 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ | 155 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |