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.
5 #include "mojo/examples/apptest/example_client_impl.h"
6 #include "mojo/public/cpp/utility/run_loop.h"
10 ExampleClientImpl::ExampleClientImpl() : last_pong_value_(0) {}
11 ExampleClientImpl::~ExampleClientImpl() {}
13 void ExampleClientImpl::Pong(uint16_t pong_value) {
14 last_pong_value_ = pong_value;
15 RunLoop::current()->Quit();