Chromium Code Reviews| Index: services/ui/demo/mus_demo_service.cc |
| diff --git a/services/ui/demo/mus_demo_service.cc b/services/ui/demo/mus_demo_service.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a46e05eb96bb91eacf44b76a8cd9cdd9c511157f |
| --- /dev/null |
| +++ b/services/ui/demo/mus_demo_service.cc |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium 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 "services/ui/demo/mus_demo_service.h" |
| + |
| +#include "services/ui/demo/mus_demo.h" |
| + |
| +namespace ui { |
| +namespace demo { |
| + |
| +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.
|
| + |
| +MusDemoService::~MusDemoService() {} |
| + |
| +void MusDemoService::OnStart(const service_manager::Identity& identity) { |
| + mus_demo_->Start(connector()); |
| +} |
| + |
| +bool MusDemoService::OnConnect(const service_manager::Identity& remote_identity, |
| + service_manager::InterfaceRegistry* registry) { |
| + return true; |
| +} |
| + |
| +} // namespace demo |
| +} // namespace ui |