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

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

Issue 14118008: dbus: Remove unused MockCrasAudioClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « chromeos/dbus/mock_cras_audio_client.cc ('k') | chromeos/dbus/mock_dbus_thread_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "chromeos/dbus/dbus_thread_manager.h" 11 #include "chromeos/dbus/dbus_thread_manager.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 13
14 namespace dbus { 14 namespace dbus {
15 15
16 class Bus; 16 class Bus;
17 17
18 } // namespace dbus 18 } // namespace dbus
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 class DBusThreadManagerObserver; 22 class DBusThreadManagerObserver;
23 class MockBluetoothAdapterClient; 23 class MockBluetoothAdapterClient;
24 class MockBluetoothDeviceClient; 24 class MockBluetoothDeviceClient;
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 MockCrasAudioClient;
30 class MockCrosDisksClient; 29 class MockCrosDisksClient;
31 class MockCryptohomeClient; 30 class MockCryptohomeClient;
32 class MockDebugDaemonClient; 31 class MockDebugDaemonClient;
33 class MockExperimentalBluetoothAdapterClient; 32 class MockExperimentalBluetoothAdapterClient;
34 class MockExperimentalBluetoothAgentManagerClient; 33 class MockExperimentalBluetoothAgentManagerClient;
35 class MockExperimentalBluetoothDeviceClient; 34 class MockExperimentalBluetoothDeviceClient;
36 class MockExperimentalBluetoothProfileManagerClient; 35 class MockExperimentalBluetoothProfileManagerClient;
37 class MockShillDeviceClient; 36 class MockShillDeviceClient;
38 class MockShillIPConfigClient; 37 class MockShillIPConfigClient;
39 class MockShillManagerClient; 38 class MockShillManagerClient;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 125 }
127 MockBluetoothManagerClient* mock_bluetooth_manager_client() { 126 MockBluetoothManagerClient* mock_bluetooth_manager_client() {
128 return mock_bluetooth_manager_client_.get(); 127 return mock_bluetooth_manager_client_.get();
129 } 128 }
130 MockBluetoothNodeClient* mock_bluetooth_node_client() { 129 MockBluetoothNodeClient* mock_bluetooth_node_client() {
131 return mock_bluetooth_node_client_.get(); 130 return mock_bluetooth_node_client_.get();
132 } 131 }
133 MockBluetoothOutOfBandClient* mock_bluetooth_out_of_band_client() { 132 MockBluetoothOutOfBandClient* mock_bluetooth_out_of_band_client() {
134 return mock_bluetooth_out_of_band_client_.get(); 133 return mock_bluetooth_out_of_band_client_.get();
135 } 134 }
136 MockCrasAudioClient* mock_cras_audio_client() {
137 return mock_cras_audio_client_.get();
138 }
139 MockCrosDisksClient* mock_cros_disks_client() { 135 MockCrosDisksClient* mock_cros_disks_client() {
140 return mock_cros_disks_client_.get(); 136 return mock_cros_disks_client_.get();
141 } 137 }
142 MockCryptohomeClient* mock_cryptohome_client() { 138 MockCryptohomeClient* mock_cryptohome_client() {
143 return mock_cryptohome_client_.get(); 139 return mock_cryptohome_client_.get();
144 } 140 }
145 MockDebugDaemonClient* mock_debugdaemon_client() { 141 MockDebugDaemonClient* mock_debugdaemon_client() {
146 return mock_debugdaemon_client_.get(); 142 return mock_debugdaemon_client_.get();
147 } 143 }
148 MockExperimentalBluetoothAdapterClient* 144 MockExperimentalBluetoothAdapterClient*
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Note: Keep this before other members so they can call AddObserver() in 225 // Note: Keep this before other members so they can call AddObserver() in
230 // their c'tors. 226 // their c'tors.
231 ObserverList<DBusThreadManagerObserver> observers_; 227 ObserverList<DBusThreadManagerObserver> observers_;
232 228
233 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_; 229 scoped_ptr<MockBluetoothAdapterClient> mock_bluetooth_adapter_client_;
234 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_; 230 scoped_ptr<MockBluetoothDeviceClient> mock_bluetooth_device_client_;
235 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_; 231 scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_;
236 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_; 232 scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_;
237 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_; 233 scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_;
238 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_; 234 scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_;
239 scoped_ptr<MockCrasAudioClient> mock_cras_audio_client_;
240 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_; 235 scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_;
241 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_; 236 scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_;
242 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_; 237 scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_;
243 scoped_ptr<MockExperimentalBluetoothAdapterClient> 238 scoped_ptr<MockExperimentalBluetoothAdapterClient>
244 mock_experimental_bluetooth_adapter_client_; 239 mock_experimental_bluetooth_adapter_client_;
245 scoped_ptr<MockExperimentalBluetoothAgentManagerClient> 240 scoped_ptr<MockExperimentalBluetoothAgentManagerClient>
246 mock_experimental_bluetooth_agent_manager_client_; 241 mock_experimental_bluetooth_agent_manager_client_;
247 scoped_ptr<MockExperimentalBluetoothDeviceClient> 242 scoped_ptr<MockExperimentalBluetoothDeviceClient>
248 mock_experimental_bluetooth_device_client_; 243 mock_experimental_bluetooth_device_client_;
249 scoped_ptr<MockExperimentalBluetoothProfileManagerClient> 244 scoped_ptr<MockExperimentalBluetoothProfileManagerClient>
(...skipping 20 matching lines...) Expand all
270 scoped_ptr<MockIBusEngineService> mock_ibus_engine_service_; 265 scoped_ptr<MockIBusEngineService> mock_ibus_engine_service_;
271 scoped_ptr<MockIBusEngineFactoryService> mock_ibus_engine_factory_service_; 266 scoped_ptr<MockIBusEngineFactoryService> mock_ibus_engine_factory_service_;
272 scoped_ptr<MockIBusPanelService> mock_ibus_panel_service_; 267 scoped_ptr<MockIBusPanelService> mock_ibus_panel_service_;
273 268
274 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); 269 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager);
275 }; 270 };
276 271
277 } // namespace chromeos 272 } // namespace chromeos
278 273
279 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 274 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_cras_audio_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