Index: mojo/examples/content_handler_demo/content_handler_demo.cc |
diff --git a/mojo/examples/content_handler_demo/content_handler_demo.cc b/mojo/examples/content_handler_demo/content_handler_demo.cc |
index bddcb225b9f9b3469adaf237ec2b1bafd662af15..a98fea9c443194705d77e523c4fb70e8a1ea09cc 100644 |
--- a/mojo/examples/content_handler_demo/content_handler_demo.cc |
+++ b/mojo/examples/content_handler_demo/content_handler_demo.cc |
@@ -22,10 +22,10 @@ class ContentHandlerImpl : public InterfaceImpl<ContentHandler> { |
virtual ~ContentHandlerImpl() {} |
private: |
- virtual void OnConnect(const mojo::String& url, |
- URLResponsePtr response, |
- InterfaceRequest<ServiceProvider> service_provider) |
- MOJO_OVERRIDE; |
+ virtual void OnConnect( |
+ const mojo::String& url, |
+ URLResponsePtr response, |
+ InterfaceRequest<ServiceProvider> service_provider) override; |
ContentHandlerApp* content_handler_app_; |
}; |
@@ -35,11 +35,10 @@ class ContentHandlerApp : public ApplicationDelegate { |
ContentHandlerApp() : content_handler_factory_(this) { |
} |
- virtual void Initialize(ApplicationImpl* app) MOJO_OVERRIDE { |
- } |
+ virtual void Initialize(ApplicationImpl* app) override {} |
- virtual bool ConfigureIncomingConnection(ApplicationConnection* connection) |
- MOJO_OVERRIDE { |
+ virtual bool ConfigureIncomingConnection( |
+ ApplicationConnection* connection) override { |
connection->AddService(&content_handler_factory_); |
return true; |
} |