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

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

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/dbus_thread_manager.cc ('k') | chromeos/dbus/fake_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_FAKE_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
6 #define CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_ 6 #define CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 FakeDBusThreadManager(); 28 FakeDBusThreadManager();
29 virtual ~FakeDBusThreadManager(); 29 virtual ~FakeDBusThreadManager();
30 30
31 // Creates and sets all fake DBusClients and the PowerPolicyController. 31 // Creates and sets all fake DBusClients and the PowerPolicyController.
32 void SetFakeClients(); 32 void SetFakeClients();
33 33
34 // Creates and sets all fake Shill DBusClients. 34 // Creates and sets all fake Shill DBusClients.
35 void SetFakeShillClients(); 35 void SetFakeShillClients();
36 36
37 // Sets up any default environment for fake clients, e.g. for UI testing.
38 void SetupDefaultEnvironment();
39
37 void SetBluetoothAdapterClient(scoped_ptr<BluetoothAdapterClient> client); 40 void SetBluetoothAdapterClient(scoped_ptr<BluetoothAdapterClient> client);
38 void SetBluetoothAgentManagerClient( 41 void SetBluetoothAgentManagerClient(
39 scoped_ptr<BluetoothAgentManagerClient> client); 42 scoped_ptr<BluetoothAgentManagerClient> client);
40 void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client); 43 void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client);
41 void SetBluetoothInputClient(scoped_ptr<BluetoothInputClient> client); 44 void SetBluetoothInputClient(scoped_ptr<BluetoothInputClient> client);
42 void SetBluetoothProfileManagerClient( 45 void SetBluetoothProfileManagerClient(
43 scoped_ptr<BluetoothProfileManagerClient> client); 46 scoped_ptr<BluetoothProfileManagerClient> client);
44 void SetCrasAudioClient(scoped_ptr<CrasAudioClient> client); 47 void SetCrasAudioClient(scoped_ptr<CrasAudioClient> client);
45 void SetCrosDisksClient(scoped_ptr<CrosDisksClient> client); 48 void SetCrosDisksClient(scoped_ptr<CrosDisksClient> client);
46 void SetCryptohomeClient(scoped_ptr<CryptohomeClient> client); 49 void SetCryptohomeClient(scoped_ptr<CryptohomeClient> client);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 scoped_ptr<UpdateEngineClient> update_engine_client_; 143 scoped_ptr<UpdateEngineClient> update_engine_client_;
141 144
142 scoped_ptr<PowerPolicyController> power_policy_controller_; 145 scoped_ptr<PowerPolicyController> power_policy_controller_;
143 146
144 DISALLOW_COPY_AND_ASSIGN(FakeDBusThreadManager); 147 DISALLOW_COPY_AND_ASSIGN(FakeDBusThreadManager);
145 }; 148 };
146 149
147 } // namespace chromeos 150 } // namespace chromeos
148 151
149 #endif // CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_ 152 #endif // CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/fake_dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698