blob: 6eae1ade4cd742f5cff04f19cbc2f010c900cc13 [file] [log] [blame]
// Copyright 2014 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 "examples/apptest/example_service_impl.h"
#include "mojo/public/cpp/utility/run_loop.h"
namespace mojo {
ExampleServiceImpl::ExampleServiceImpl() {}
ExampleServiceImpl::~ExampleServiceImpl() {}
void ExampleServiceImpl::Ping(uint16_t ping_value) {
client()->Pong(ping_value);
}
void ExampleServiceImpl::RunCallback(const Callback<void()>& callback) {
callback.Run();
}
} // namespace mojo