blob: cffa48ced7657e75f1f8411a412ffbb2275b8bef [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/dbus/dbus_service_watcher.h"
namespace shill {
DBusServiceWatcher::DBusServiceWatcher(
scoped_refptr<dbus::Bus> bus,
const std::string& connection_name,
const base::Closure& on_connection_vanished)
: watcher_(new brillo::dbus_utils::DBusServiceWatcher(
bus, connection_name, on_connection_vanished)) {}
DBusServiceWatcher::~DBusServiceWatcher() = default;
} // namespace shill