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/examples/apptest/example_client_impl.h" | 5 #include "examples/apptest/example_client_impl.h" |
6 #include "mojo/public/cpp/utility/run_loop.h" | 6 #include "mojo/public/cpp/utility/run_loop.h" |
7 | 7 |
8 namespace mojo { | 8 namespace mojo { |
9 | 9 |
10 ExampleClientImpl::ExampleClientImpl() : last_pong_value_(0) {} | 10 ExampleClientImpl::ExampleClientImpl() : last_pong_value_(0) {} |
11 | 11 |
12 ExampleClientImpl::~ExampleClientImpl() {} | 12 ExampleClientImpl::~ExampleClientImpl() {} |
13 | 13 |
14 void ExampleClientImpl::Pong(uint16_t pong_value) { | 14 void ExampleClientImpl::Pong(uint16_t pong_value) { |
15 last_pong_value_ = pong_value; | 15 last_pong_value_ = pong_value; |
16 } | 16 } |
17 | 17 |
18 } // namespace mojo | 18 } // namespace mojo |
OLD | NEW |