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

Unified Diff: examples/apptest/example_client_impl.h

Issue 731293003: Use Binding instead of InterfaceImpl for ExampleService. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify ExampleClientImpl. 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 side-by-side diff with in-line comments
Download patch
Index: examples/apptest/example_client_impl.h
diff --git a/examples/apptest/example_client_impl.h b/examples/apptest/example_client_impl.h
index 00c974bbfc6856d26ee6a48469769886287675a7..ec71901d4e22cfc341ffc5cc5a7c3ed8eae760ed 100644
--- a/examples/apptest/example_client_impl.h
+++ b/examples/apptest/example_client_impl.h
@@ -10,15 +10,15 @@
namespace mojo {
-class ExampleClientImpl : public InterfaceImpl<ExampleClient> {
+class ExampleClientImpl : public ExampleClient {
public:
ExampleClientImpl();
- virtual ~ExampleClientImpl();
+ ~ExampleClientImpl() override;
int16_t last_pong_value() const { return last_pong_value_; }
- // InterfaceImpl<ExampleClient> overrides.
- virtual void Pong(uint16_t pong_value) override;
+ // ExampleClient overrides.
+ void Pong(uint16_t pong_value) override;
private:
int16_t last_pong_value_;
« no previous file with comments | « no previous file | examples/apptest/example_client_impl.cc » ('j') | examples/apptest/example_service_application.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698