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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 980973003: apmanager: Add dbus implementation to chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change struct into class Created 5 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/dbus_thread_manager.h ('k') | chromeos/dbus/fake_ap_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index c8d7ddbd015c36890566b552dcbab1f12a39e6a6..8e705f46beb8c31d90647d8c243971f88918d70f 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -8,6 +8,7 @@
#include "base/sys_info.h"
#include "base/threading/thread.h"
#include "chromeos/chromeos_switches.h"
+#include "chromeos/dbus/ap_manager_client.h"
#include "chromeos/dbus/bluetooth_adapter_client.h"
#include "chromeos/dbus/bluetooth_agent_manager_client.h"
#include "chromeos/dbus/bluetooth_device_client.h"
@@ -112,6 +113,10 @@ dbus::Bus* DBusThreadManager::GetSystemBus() {
return system_bus_.get();
}
+ApManagerClient* DBusThreadManager::GetApManagerClient() {
+ return client_bundle_->ap_manager_client();
+}
+
BluetoothAdapterClient* DBusThreadManager::GetBluetoothAdapterClient() {
return client_bundle_->bluetooth_adapter_client();
}
@@ -292,6 +297,7 @@ UpdateEngineClient* DBusThreadManager::GetUpdateEngineClient() {
}
void DBusThreadManager::InitializeClients() {
+ GetApManagerClient()->Init(GetSystemBus());
GetBluetoothAdapterClient()->Init(GetSystemBus());
GetBluetoothAgentManagerClient()->Init(GetSystemBus());
GetBluetoothDeviceClient()->Init(GetSystemBus());
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | chromeos/dbus/fake_ap_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698