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

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

Issue 11887008: Deprecate ShillNetworkClient and add GeolocationHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unittest Created 7 years, 11 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 "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 14 matching lines...) Expand all
25 class MockBluetoothInputClient; 25 class MockBluetoothInputClient;
26 class MockBluetoothManagerClient; 26 class MockBluetoothManagerClient;
27 class MockBluetoothNodeClient; 27 class MockBluetoothNodeClient;
28 class MockBluetoothOutOfBandClient; 28 class MockBluetoothOutOfBandClient;
29 class MockCrosDisksClient; 29 class MockCrosDisksClient;
30 class MockCryptohomeClient; 30 class MockCryptohomeClient;
31 class MockDebugDaemonClient; 31 class MockDebugDaemonClient;
32 class MockShillDeviceClient; 32 class MockShillDeviceClient;
33 class MockShillIPConfigClient; 33 class MockShillIPConfigClient;
34 class MockShillManagerClient; 34 class MockShillManagerClient;
35 class MockShillNetworkClient;
36 class MockShillProfileClient; 35 class MockShillProfileClient;
37 class MockShillServiceClient; 36 class MockShillServiceClient;
38 class MockGsmSMSClient; 37 class MockGsmSMSClient;
39 class MockImageBurnerClient; 38 class MockImageBurnerClient;
40 class MockIntrospectableClient; 39 class MockIntrospectableClient;
41 class MockModemMessagingClient; 40 class MockModemMessagingClient;
42 class MockPermissionBrokerClient; 41 class MockPermissionBrokerClient;
43 class MockPowerManagerClient; 42 class MockPowerManagerClient;
44 class MockRootPowerManagerClient; 43 class MockRootPowerManagerClient;
45 class MockSessionManagerClient; 44 class MockSessionManagerClient;
(...skipping 19 matching lines...) Expand all
65 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void)); 64 MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void));
66 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void)); 65 MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void));
67 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void)); 66 MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void));
68 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void)); 67 MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void));
69 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void)); 68 MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void));
70 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void)); 69 MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void));
71 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void)); 70 MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void));
72 MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void)); 71 MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void));
73 MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void)); 72 MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void));
74 MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void)); 73 MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void));
75 MOCK_METHOD0(GetShillNetworkClient, ShillNetworkClient*(void));
76 MOCK_METHOD0(GetShillProfileClient, ShillProfileClient*(void)); 74 MOCK_METHOD0(GetShillProfileClient, ShillProfileClient*(void));
77 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); 75 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void));
78 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); 76 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void));
79 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); 77 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void));
80 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); 78 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void));
81 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); 79 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void));
82 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); 80 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void));
83 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); 81 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void));
84 MOCK_METHOD0(GetRootPowerManagerClient, RootPowerManagerClient*(void)); 82 MOCK_METHOD0(GetRootPowerManagerClient, RootPowerManagerClient*(void));
85 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); 83 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void));
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 123 }
126 MockShillDeviceClient* mock_shill_device_client() { 124 MockShillDeviceClient* mock_shill_device_client() {
127 return mock_shill_device_client_.get(); 125 return mock_shill_device_client_.get();
128 } 126 }
129 MockShillIPConfigClient* mock_shill_ipconfig_client() { 127 MockShillIPConfigClient* mock_shill_ipconfig_client() {
130 return mock_shill_ipconfig_client_.get(); 128 return mock_shill_ipconfig_client_.get();
131 } 129 }
132 MockShillManagerClient* mock_shill_manager_client() { 130 MockShillManagerClient* mock_shill_manager_client() {
133 return mock_shill_manager_client_.get(); 131 return mock_shill_manager_client_.get();
134 } 132 }
135 MockShillNetworkClient* mock_shill_network_client() {
136 return mock_shill_network_client_.get();
137 }
138 MockShillProfileClient* mock_shill_profile_client() { 133 MockShillProfileClient* mock_shill_profile_client() {
139 return mock_shill_profile_client_.get(); 134 return mock_shill_profile_client_.get();
140 } 135 }
141 MockShillServiceClient* mock_shill_service_client() { 136 MockShillServiceClient* mock_shill_service_client() {
142 return mock_shill_service_client_.get(); 137 return mock_shill_service_client_.get();
143 } 138 }
144 MockGsmSMSClient* mock_gsm_sms_client() { 139 MockGsmSMSClient* mock_gsm_sms_client() {
145 return mock_gsm_sms_client_.get(); 140 return mock_gsm_sms_client_.get();
146 } 141 }
147 MockImageBurnerClient* mock_image_burner_client() { 142 MockImageBurnerClient* mock_image_burner_client() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; 176 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_;
182 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; 177 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_;
183 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; 178 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_;
184 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; 179 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_;
185 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; 180 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_;
186 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; 181 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_;
187 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; 182 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_;
188 scoped_ptr<MockShillDeviceClient> mock_shill_device_client_; 183 scoped_ptr<MockShillDeviceClient> mock_shill_device_client_;
189 scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_; 184 scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_;
190 scoped_ptr<MockShillManagerClient> mock_shill_manager_client_; 185 scoped_ptr<MockShillManagerClient> mock_shill_manager_client_;
191 scoped_ptr<MockShillNetworkClient> mock_shill_network_client_;
192 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_; 186 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_;
193 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; 187 scoped_ptr<MockShillServiceClient> mock_shill_service_client_;
194 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_; 188 scoped_ptr<MockGsmSMSClient> mock_gsm_sms_client_;
195 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_; 189 scoped_ptr<MockImageBurnerClient> mock_image_burner_client_;
196 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_; 190 scoped_ptr<MockIntrospectableClient> mock_introspectable_client_;
197 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_; 191 scoped_ptr<MockModemMessagingClient> mock_modem_messaging_client_;
198 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_; 192 scoped_ptr<MockPermissionBrokerClient> mock_permission_broker_client_;
199 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_; 193 scoped_ptr<MockPowerManagerClient> mock_power_manager_client_;
200 scoped_ptr<MockRootPowerManagerClient> mock_root_power_manager_client_; 194 scoped_ptr<MockRootPowerManagerClient> mock_root_power_manager_client_;
201 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; 195 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_;
202 scoped_ptr<MockSMSClient> mock_sms_client_; 196 scoped_ptr<MockSMSClient> mock_sms_client_;
203 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_; 197 scoped_ptr<MockSpeechSynthesizerClient> mock_speech_synthesizer_client_;
204 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; 198 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_;
205 199
206 ObserverList<DBusThreadManagerObserver> observers_; 200 ObserverList<DBusThreadManagerObserver> observers_;
207 201
208 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); 202 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager);
209 }; 203 };
210 204
211 } // namespace chromeos 205 } // namespace chromeos
212 206
213 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 207 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698