OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "mojo/examples/test/example_service_impl.h" | |
6 | |
7 namespace mojo { | |
8 | |
9 ExampleServiceImpl::ExampleServiceImpl(ApplicationConnection* connection) {} | |
10 ExampleServiceImpl::~ExampleServiceImpl() {} | |
11 | |
12 void ExampleServiceImpl::Ping(uint16_t ping_value) { | |
13 client()->Pong(ping_value); | |
14 } | |
15 | |
16 void ExampleServiceImpl::RunCallback(const Callback<void()>& callback) { | |
17 callback.Run(); | |
18 } | |
19 | |
20 } // namespace mojo | |
OLD | NEW |