Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: examples/apptest/example_client_impl.cc

Issue 731293003: Use Binding instead of InterfaceImpl for ExampleService. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Sync and rebase. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « examples/apptest/example_client_impl.h ('k') | examples/apptest/example_service_application.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "examples/apptest/example_client_impl.h" 5 #include "examples/apptest/example_client_impl.h"
6 #include "mojo/public/cpp/utility/run_loop.h"
7 6
8 namespace mojo { 7 namespace mojo {
9 8
10 ExampleClientImpl::ExampleClientImpl() : last_pong_value_(0) {} 9 ExampleClientImpl::ExampleClientImpl() : last_pong_value_(0) {}
11 10
12 ExampleClientImpl::~ExampleClientImpl() {} 11 ExampleClientImpl::~ExampleClientImpl() {}
13 12
14 void ExampleClientImpl::Pong(uint16_t pong_value) { 13 void ExampleClientImpl::Pong(uint16_t pong_value) {
15 last_pong_value_ = pong_value; 14 last_pong_value_ = pong_value;
16 } 15 }
17 16
18 } // namespace mojo 17 } // namespace mojo
OLDNEW
« no previous file with comments | « examples/apptest/example_client_impl.h ('k') | examples/apptest/example_service_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698