1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "headless/lib/browser/headless_browser_main_parts.h"
6 
7 #include "build/build_config.h"
8 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
9 
10 namespace headless {
11 
PostMainMessageLoopStart()12 void HeadlessBrowserMainParts::PostMainMessageLoopStart() {
13 #if defined(USE_DBUS) && !defined(OS_CHROMEOS) && !defined(OS_BSD)
14   bluez::BluezDBusManager::Initialize(/*system_bus=*/nullptr);
15 #endif
16 }
17 
18 }  // namespace headless
19