blob: 04a381b66bf675f97d0226db3144e066eb03b747 [file]
// Copyright (c) 2010, 2011 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 "src/device.h"
#include <glog/logging.h>
#include "src/device_impl.h"
namespace cashew {
// static
Device* Device::NewDevice(Service * const parent,
DBus::Connection& connection, // NOLINT
const DBus::Path& path) {
DCHECK(parent != NULL);
return new(std::nothrow) DeviceImpl(parent, connection, path);
}
} // namespace cashew