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

Unified Diff: examples/surfaces_app/child_app.cc

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 months 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
« no previous file with comments | « examples/sky_compositor_app/sky_compositor_app.cc ('k') | examples/surfaces_app/child_gl_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/surfaces_app/child_app.cc
diff --git a/examples/surfaces_app/child_app.cc b/examples/surfaces_app/child_app.cc
index f154536f0f89dc2257a0daeb6374a9793f6e64a9..03446105e2e588955f9eab65c79090811cf694e2 100644
--- a/examples/surfaces_app/child_app.cc
+++ b/examples/surfaces_app/child_app.cc
@@ -17,23 +17,22 @@ namespace examples {
class ChildApp : public ApplicationDelegate, public InterfaceFactory<Child> {
public:
ChildApp() {}
- virtual ~ChildApp() {}
+ ~ChildApp() override {}
- virtual void Initialize(ApplicationImpl* app) override {
+ void Initialize(ApplicationImpl* app) override {
surfaces_service_connection_ =
app->ConnectToApplication("mojo:surfaces_service");
}
// ApplicationDelegate implementation.
- virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override {
+ bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
connection->AddService(this);
return true;
}
// InterfaceFactory<Child> implementation.
- virtual void Create(ApplicationConnection* connection,
- InterfaceRequest<Child> request) override {
+ void Create(ApplicationConnection* connection,
+ InterfaceRequest<Child> request) override {
new ChildImpl(surfaces_service_connection_, request.Pass());
}
« no previous file with comments | « examples/sky_compositor_app/sky_compositor_app.cc ('k') | examples/surfaces_app/child_gl_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698