OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/shell/shell_test_base.h" | 5 #include "mojo/services/test_service/test_service_impl.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 namespace shell { | |
9 namespace test { | 8 namespace test { |
10 | 9 |
11 ShellTestBase::ShellTestBase() { | 10 TestServiceImpl::TestServiceImpl() { |
12 } | 11 } |
13 | 12 |
14 ShellTestBase::~ShellTestBase() { | 13 TestServiceImpl::~TestServiceImpl() { |
| 14 } |
| 15 |
| 16 void TestServiceImpl::Ping(const mojo::Callback<void()>& callback) { |
| 17 callback.Run(); |
15 } | 18 } |
16 | 19 |
17 } // namespace test | 20 } // namespace test |
18 } // namespace shell | |
19 } // namespace mojo | 21 } // namespace mojo |
OLD | NEW |