OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_APP_CONTAINER_H_ | 5 #ifndef MOJO_SHELL_APP_CONTAINER_H_ |
6 #define MOJO_SHELL_APP_CONTAINER_H_ | 6 #define MOJO_SHELL_APP_CONTAINER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "mojo/public/system/core.h" | 11 #include "mojo/public/system/core.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
| 14 class FilePath; |
13 class Thread; | 15 class Thread; |
14 } | 16 } |
15 | 17 |
16 namespace mojo { | 18 namespace mojo { |
17 namespace shell { | 19 namespace shell { |
18 | 20 |
19 // A container class that runs an app on its own thread. | 21 // A container class that runs an app on its own thread. |
20 class AppContainer { | 22 class AppContainer { |
21 public: | 23 public: |
22 AppContainer(); | 24 AppContainer(); |
(...skipping 11 matching lines...) Expand all Loading... |
34 // Following members are valid only on app thread. | 36 // Following members are valid only on app thread. |
35 Handle shell_handle_; | 37 Handle shell_handle_; |
36 | 38 |
37 DISALLOW_COPY_AND_ASSIGN(AppContainer); | 39 DISALLOW_COPY_AND_ASSIGN(AppContainer); |
38 }; | 40 }; |
39 | 41 |
40 } // namespace shell | 42 } // namespace shell |
41 } // namespace mojo | 43 } // namespace mojo |
42 | 44 |
43 #endif // MOJO_SHELL_APP_CONTAINER_H_ | 45 #endif // MOJO_SHELL_APP_CONTAINER_H_ |
OLD | NEW |