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

Unified Diff: chromeos/dbus/fake_dbus_thread_manager.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_dbus_thread_manager.h ('k') | chromeos/dbus/fake_shill_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_dbus_thread_manager.cc
diff --git a/chromeos/dbus/fake_dbus_thread_manager.cc b/chromeos/dbus/fake_dbus_thread_manager.cc
index a57a7c2f14ac49293cbfcef14d0e3cbe92cfaa1a..b5bb7879c2c950c106a09d1cd72a371574a9432a 100644
--- a/chromeos/dbus/fake_dbus_thread_manager.cc
+++ b/chromeos/dbus/fake_dbus_thread_manager.cc
@@ -117,6 +117,13 @@ void FakeDBusThreadManager::SetFakeShillClients() {
scoped_ptr<ShillProfileClient>(new FakeShillProfileClient));
}
+void FakeDBusThreadManager::SetupDefaultEnvironment() {
+ ShillManagerClient::TestInterface* manager =
+ shill_manager_client_->GetTestInterface();
+ if (manager)
+ manager->SetupDefaultEnvironment();
+}
+
void FakeDBusThreadManager::SetBluetoothAdapterClient(
scoped_ptr<BluetoothAdapterClient> client) {
bluetooth_adapter_client_ = client.Pass();
« no previous file with comments | « chromeos/dbus/fake_dbus_thread_manager.h ('k') | chromeos/dbus/fake_shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698