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

Unified Diff: mojo/examples/surfaces_app/child_app.cc

Issue 623573002: Mojo: Convert the remaining OVERRIDEs to override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/examples/png_viewer/png_viewer.cc ('k') | mojo/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: mojo/examples/surfaces_app/child_app.cc
diff --git a/mojo/examples/surfaces_app/child_app.cc b/mojo/examples/surfaces_app/child_app.cc
index c499253a1fd5c97fcc22617b6008328e9fb7b8a4..04c1fbafcb294ba237ae688d30d1f33f2fb7e6d6 100644
--- a/mojo/examples/surfaces_app/child_app.cc
+++ b/mojo/examples/surfaces_app/child_app.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/macros.h"
#include "mojo/application/application_runner_chromium.h"
#include "mojo/examples/surfaces_app/child_impl.h"
#include "mojo/public/c/system/main.h"
@@ -18,21 +19,21 @@ class ChildApp : public ApplicationDelegate, public InterfaceFactory<Child> {
ChildApp() {}
virtual ~ChildApp() {}
- virtual void Initialize(ApplicationImpl* app) OVERRIDE {
+ virtual void Initialize(ApplicationImpl* app) override {
surfaces_service_connection_ =
app->ConnectToApplication("mojo:mojo_surfaces_service");
}
// ApplicationDelegate implementation.
virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) OVERRIDE {
+ ApplicationConnection* connection) override {
connection->AddService(this);
return true;
}
// InterfaceFactory<Child> implementation.
virtual void Create(ApplicationConnection* connection,
- InterfaceRequest<Child> request) OVERRIDE {
+ InterfaceRequest<Child> request) override {
BindToRequest(new ChildImpl(surfaces_service_connection_), &request);
}
« no previous file with comments | « mojo/examples/png_viewer/png_viewer.cc ('k') | mojo/examples/surfaces_app/child_gl_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698