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_PUBLIC_APPLICATION_APPLICATION_RUNNER_H_ | 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_RUNNER_H_ | 6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
7 | 7 |
8 #include "mojo/public/cpp/system/core.h" | 8 #include "mojo/public/cpp/system/core.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 | 11 |
12 class ApplicationDelegate; | 12 class ApplicationDelegate; |
13 | 13 |
14 // A utility for running an Application. The typical use case is to use | 14 // A utility for running an Application. The typical use case is to use |
15 // when writing your MojoMain: | 15 // when writing your MojoMain: |
16 // | 16 // |
(...skipping 17 matching lines...) Expand all Loading... |
34 MojoResult Run(MojoHandle application_request); | 34 MojoResult Run(MojoHandle application_request); |
35 | 35 |
36 private: | 36 private: |
37 ApplicationDelegate* delegate_; | 37 ApplicationDelegate* delegate_; |
38 | 38 |
39 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationRunner); | 39 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationRunner); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace mojo | 42 } // namespace mojo |
43 | 43 |
44 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_RUNNER_H_ | 44 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
OLD | NEW |