blob: af99e95ec90548449de8ebdf5999fbefb1f514b5 [file] [log] [blame]
Prashant Malani224d3ca2017-03-14 12:44:11 -07001// Copyright 2017 The Chromium OS 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 "midis/daemon.h"
6
7namespace midis {
8
9Daemon::Daemon() : device_tracker_(new DeviceTracker()) {}
10
11Daemon::~Daemon() {}
12
13int Daemon::OnInit() {
14 if (!device_tracker_->InitDeviceTracker()) {
15 return -1;
16 }
17
18 return 0;
19}
20
21} // namespace midis