Index: device/bluetooth/bluetooth_adapter_factory.cc |
diff --git a/device/bluetooth/bluetooth_adapter_factory.cc b/device/bluetooth/bluetooth_adapter_factory.cc |
index 33950531312af20a9c055c817a7e4c031c2a37e7..1cb4047af03675120f5efc2bf40cb3d5393b9a8f 100644 |
--- a/device/bluetooth/bluetooth_adapter_factory.cc |
+++ b/device/bluetooth/bluetooth_adapter_factory.cc |
@@ -94,6 +94,15 @@ void BluetoothAdapterFactory::GetAdapter(const AdapterCallback& callback) { |
} |
+#if defined(OS_CHROMEOS) |
+// static |
+void BluetoothAdapterFactory::OnDBusThreadManagerShutdown() { |
+ if (default_adapter.Get()) { |
+ default_adapter.Get()->OnDBusThreadManagerShutdown(); |
+ } |
+} |
+#endif |
+ |
// static |
void BluetoothAdapterFactory::SetAdapterForTesting( |
scoped_refptr<BluetoothAdapter> adapter) { |