OLD | NEW |
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 #ifndef MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ | 5 #ifndef MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ |
6 #define MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ | 6 #define MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ |
7 | 7 |
8 #include "mojo/public/cpp/application/application_delegate.h" | 8 #include "mojo/public/cpp/application/application_delegate.h" |
9 #include "mojo/public/cpp/application/interface_factory.h" | 9 #include "mojo/public/cpp/application/interface_factory.h" |
10 #include "mojo/public/cpp/system/macros.h" | 10 #include "mojo/public/cpp/system/macros.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 | 13 |
14 class ExampleClientApplication : public ApplicationDelegate { | 14 class ExampleClientApplication : public ApplicationDelegate { |
15 public: | 15 public: |
16 ExampleClientApplication(); | 16 ExampleClientApplication(); |
17 virtual ~ExampleClientApplication(); | 17 virtual ~ExampleClientApplication(); |
18 | 18 |
19 private: | 19 private: |
20 // ApplicationDelegate implementation. | 20 // ApplicationDelegate implementation. |
21 virtual void Initialize(ApplicationImpl* app) MOJO_OVERRIDE; | 21 virtual void Initialize(ApplicationImpl* app) override; |
22 | 22 |
23 MOJO_DISALLOW_COPY_AND_ASSIGN(ExampleClientApplication); | 23 MOJO_DISALLOW_COPY_AND_ASSIGN(ExampleClientApplication); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace mojo | 26 } // namespace mojo |
27 | 27 |
28 #endif // MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ | 28 #endif // MOJO_EXAMPLES_TEST_EXAMPLE_CLIENT_APPLICATION_H_ |
OLD | NEW |