Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: chromeos/dbus/mock_dbus_thread_manager.h

Issue 10825170: chromeos: Add dbus MTPDClient. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 19 matching lines...) Expand all
30 class MockDebugDaemonClient; 30 class MockDebugDaemonClient;
31 class MockFlimflamDeviceClient; 31 class MockFlimflamDeviceClient;
32 class MockFlimflamIPConfigClient; 32 class MockFlimflamIPConfigClient;
33 class MockFlimflamManagerClient; 33 class MockFlimflamManagerClient;
34 class MockFlimflamNetworkClient; 34 class MockFlimflamNetworkClient;
35 class MockFlimflamProfileClient; 35 class MockFlimflamProfileClient;
36 class MockFlimflamServiceClient; 36 class MockFlimflamServiceClient;
37 class MockGsmSMSClient; 37 class MockGsmSMSClient;
38 class MockImageBurnerClient; 38 class MockImageBurnerClient;
39 class MockIntrospectableClient; 39 class MockIntrospectableClient;
40 class MockMediaTransferProtocolDaemonClient;
40 class MockModemMessagingClient; 41 class MockModemMessagingClient;
41 class MockPowerManagerClient; 42 class MockPowerManagerClient;
42 class MockSessionManagerClient; 43 class MockSessionManagerClient;
43 class MockSMSClient; 44 class MockSMSClient;
44 class MockSpeechSynthesizerClient; 45 class MockSpeechSynthesizerClient;
45 class MockUpdateEngineClient; 46 class MockUpdateEngineClient;
46 47
47 // This class provides a mock DBusThreadManager with mock clients 48 // This class provides a mock DBusThreadManager with mock clients
48 // installed. You can customize the behaviors of mock clients with 49 // installed. You can customize the behaviors of mock clients with
49 // mock_foo_client() functions. 50 // mock_foo_client() functions.
(...skipping 17 matching lines...) Expand all
67 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); 68 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void));
68 MOCK_METHOD0(GetFlimflamDeviceClient, FlimflamDeviceClient*(void)); 69 MOCK_METHOD0(GetFlimflamDeviceClient, FlimflamDeviceClient*(void));
69 MOCK_METHOD0(GetFlimflamIPConfigClient, FlimflamIPConfigClient*(void)); 70 MOCK_METHOD0(GetFlimflamIPConfigClient, FlimflamIPConfigClient*(void));
70 MOCK_METHOD0(GetFlimflamManagerClient, FlimflamManagerClient*(void)); 71 MOCK_METHOD0(GetFlimflamManagerClient, FlimflamManagerClient*(void));
71 MOCK_METHOD0(GetFlimflamNetworkClient, FlimflamNetworkClient*(void)); 72 MOCK_METHOD0(GetFlimflamNetworkClient, FlimflamNetworkClient*(void));
72 MOCK_METHOD0(GetFlimflamProfileClient, FlimflamProfileClient*(void)); 73 MOCK_METHOD0(GetFlimflamProfileClient, FlimflamProfileClient*(void));
73 MOCK_METHOD0(GetFlimflamServiceClient, FlimflamServiceClient*(void)); 74 MOCK_METHOD0(GetFlimflamServiceClient, FlimflamServiceClient*(void));
74 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); 75 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void));
75 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); 76 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void));
76 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); 77 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void));
78 MOCK_METHOD0(GetMediaTransferProtocolDaemonClient,
79 MediaTransferProtocolDaemonClient*(void));
77 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); 80 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void));
78 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); 81 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void));
79 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); 82 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void));
80 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); 83 MOCK_METHOD0(GetSMSClient, SMSClient*(void));
81 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void)); 84 MOCK_METHOD0(GetSpeechSynthesizerClient, SpeechSynthesizerClient*(void));
82 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); 85 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void));
83 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); 86 MOCK_METHOD0(GetIBusClient, IBusClient*(void));
84 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); 87 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void));
85 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); 88 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void));
86 MOCK_METHOD1(GetIBusEngineService, 89 MOCK_METHOD1(GetIBusEngineService,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 } 141 }
139 MockGsmSMSClient* mock_gsm_sms_client() { 142 MockGsmSMSClient* mock_gsm_sms_client() {
140 return mock_gsm_sms_client_.get(); 143 return mock_gsm_sms_client_.get();
141 } 144 }
142 MockImageBurnerClient* mock_image_burner_client() { 145 MockImageBurnerClient* mock_image_burner_client() {
143 return mock_image_burner_client_.get(); 146 return mock_image_burner_client_.get();
144 } 147 }
145 MockIntrospectableClient* mock_introspectable_client() { 148 MockIntrospectableClient* mock_introspectable_client() {
146 return mock_introspectable_client_.get(); 149 return mock_introspectable_client_.get();
147 } 150 }
151 MockMediaTransferProtocolDaemonClient*
152 mock_media_transfer_protocol_daemon_client() {
153 return mock_media_transfer_protocol_daemon_client_.get();
154 }
148 MockModemMessagingClient* mock_modem_messaging_client() { 155 MockModemMessagingClient* mock_modem_messaging_client() {
149 return mock_modem_messaging_client_.get(); 156 return mock_modem_messaging_client_.get();
150 } 157 }
151 MockPowerManagerClient* mock_power_manager_client() { 158 MockPowerManagerClient* mock_power_manager_client() {
152 return mock_power_manager_client_.get(); 159 return mock_power_manager_client_.get();
153 } 160 }
154 MockSessionManagerClient* mock_session_manager_client() { 161 MockSessionManagerClient* mock_session_manager_client() {
155 return mock_session_manager_client_.get(); 162 return mock_session_manager_client_.get();
156 } 163 }
157 MockSMSClient* mock_sms_client() { 164 MockSMSClient* mock_sms_client() {
(...skipping 19 matching lines...) Expand all
177 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; 184 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_;
178 scoped_ptr<MockFlimflamDeviceClient> mock_flimflam_device_client_; 185 scoped_ptr<MockFlimflamDeviceClient> mock_flimflam_device_client_;
179 scoped_ptr<MockFlimflamIPConfigClient> mock_flimflam_ipconfig_client_; 186 scoped_ptr<MockFlimflamIPConfigClient> mock_flimflam_ipconfig_client_;
180 scoped_ptr<MockFlimflamManagerClient> mock_flimflam_manager_client_; 187 scoped_ptr<MockFlimflamManagerClient> mock_flimflam_manager_client_;
181 scoped_ptr<MockFlimflamNetworkClient> mock_flimflam_network_client_; 188 scoped_ptr<MockFlimflamNetworkClient> mock_flimflam_network_client_;
182 scoped_ptr<MockFlimflamProfileClient> mock_flimflam_profile_client_; 189 scoped_ptr<MockFlimflamProfileClient> mock_flimflam_profile_client_;
183 scoped_ptr<MockFlimflamServiceClient> mock_flimflam_service_client_; 190 scoped_ptr<MockFlimflamServiceClient> mock_flimflam_service_client_;
184 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; 191 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_;
185 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; 192 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_;
186 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; 193 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_;
194 scoped_ptr<MockMediaTransferProtocolDaemonClient>
195 mock_media_transfer_protocol_daemon_client_;
187 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; 196 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_;
188 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; 197 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_;
189 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; 198 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_;
190 scoped_ptr<MockSMSClient> mock_sms_client_; 199 scoped_ptr<MockSMSClient> mock_sms_client_;
191 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; 200 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_;
192 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; 201 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_;
193 202
194 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); 203 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager);
195 }; 204 };
196 205
197 } // namespace chromeos 206 } // namespace chromeos
198 207
199 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 208 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/media_transfer_protocol_daemon_client.cc ('k') | chromeos/dbus/mock_dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698