Chromium Code Reviews| Index: chromeos/dbus/dbus_thread_manager.cc |
| diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc |
| index 6db36c27d521fee6e5319842985d512925907bff..2044380476986e407489c63a7da28ed71c3ad62b 100644 |
| --- a/chromeos/dbus/dbus_thread_manager.cc |
| +++ b/chromeos/dbus/dbus_thread_manager.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/command_line.h" |
| #include "base/sys_info.h" |
| #include "base/threading/thread.h" |
| +#include "bluetooth_le_advertising_manager_client.h" |
|
Marie Janssen
2015/04/14 16:47:25
lost path here too.
rkc
2015/04/14 17:54:32
Done.
|
| #include "chromeos/chromeos_switches.h" |
| #include "chromeos/dbus/amplifier_client.h" |
| #include "chromeos/dbus/ap_manager_client.h" |
| @@ -132,6 +133,11 @@ BluetoothAdapterClient* DBusThreadManager::GetBluetoothAdapterClient() { |
| return client_bundle_->bluetooth_adapter_client(); |
| } |
| +BluetoothLEAdvertisingManagerClient* |
| +DBusThreadManager::GetBluetoothAdvertisementManagerClient() { |
| + return client_bundle_->bluetooth_advertisement_manager_client(); |
| +} |
| + |
| BluetoothAgentManagerClient* |
| DBusThreadManager::GetBluetoothAgentManagerClient() { |
| return client_bundle_->bluetooth_agent_manager_client(); |
| @@ -488,6 +494,12 @@ void DBusThreadManagerSetter::SetBluetoothAdapterClient( |
| client.Pass(); |
| } |
| +void DBusThreadManagerSetter::SetBluetoothAdvertisementManagerClient( |
| + scoped_ptr<BluetoothLEAdvertisingManagerClient> client) { |
| + DBusThreadManager::Get() |
| + ->client_bundle_->bluetooth_advertisement_manager_client_ = client.Pass(); |
| +} |
| + |
| void DBusThreadManagerSetter::SetBluetoothAgentManagerClient( |
| scoped_ptr<BluetoothAgentManagerClient> client) { |
| DBusThreadManager::Get()->client_bundle_->bluetooth_agent_manager_client_ = |