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_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ | 5 #ifndef SERVICES_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
6 #define MOJO_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ | 6 #define SERVICES_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "mojo/public/cpp/system/core.h" | 10 #include "mojo/public/cpp/system/core.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 | 13 |
14 class ShellClient; | 14 class ShellClient; |
15 class ShellConnection; | 15 class ShellConnection; |
16 | 16 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // the underlying message pump). | 65 // the underlying message pump). |
66 base::MessageLoop::Type message_loop_type_; | 66 base::MessageLoop::Type message_loop_type_; |
67 // Whether Run() has been called. | 67 // Whether Run() has been called. |
68 bool has_run_; | 68 bool has_run_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(ApplicationRunner); | 70 DISALLOW_COPY_AND_ASSIGN(ApplicationRunner); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace mojo | 73 } // namespace mojo |
74 | 74 |
75 #endif // MOJO_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ | 75 #endif // SERVICES_SHELL_PUBLIC_CPP_APPLICATION_RUNNER_H_ |
OLD | NEW |