OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 "services/ui/demo/mus_demo_service.h" | |
6 | |
7 #include "services/ui/demo/mus_demo.h" | |
8 | |
9 namespace ui { | |
10 namespace demo { | |
11 | |
12 MusDemoService::MusDemoService() : mus_demo_(new MusDemo()) {} | |
sky
2016/10/21 23:18:23
We like changing stuff all the time, new way for t
Jay Civelli
2016/10/22 00:00:16
Done.
| |
13 | |
14 MusDemoService::~MusDemoService() {} | |
15 | |
16 void MusDemoService::OnStart(const service_manager::Identity& identity) { | |
17 mus_demo_->Start(connector()); | |
18 } | |
19 | |
20 bool MusDemoService::OnConnect(const service_manager::Identity& remote_identity, | |
21 service_manager::InterfaceRegistry* registry) { | |
22 return true; | |
23 } | |
24 | |
25 } // namespace demo | |
26 } // namespace ui | |
OLD | NEW |