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_APPLICATION_MANAGER_H_ | 5 #ifndef MOJO_SHELL_APPLICATION_MANAGER_H_ |
6 #define MOJO_SHELL_APPLICATION_MANAGER_H_ | 6 #define MOJO_SHELL_APPLICATION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "mojo/application/public/interfaces/application.mojom.h" | |
16 #include "mojo/application/public/interfaces/application_manager.mojom.h" | |
17 #include "mojo/application/public/interfaces/service_provider.mojom.h" | |
18 #include "mojo/application/public/interfaces/shell.mojom.h" | |
19 #include "mojo/common/weak_interface_ptr_set.h" | 15 #include "mojo/common/weak_interface_ptr_set.h" |
20 #include "mojo/public/cpp/bindings/interface_ptr_info.h" | 16 #include "mojo/public/cpp/bindings/interface_ptr_info.h" |
21 #include "mojo/public/cpp/bindings/interface_request.h" | 17 #include "mojo/public/cpp/bindings/interface_request.h" |
22 #include "mojo/shell/application_loader.h" | 18 #include "mojo/shell/application_loader.h" |
23 #include "mojo/shell/capability_filter.h" | 19 #include "mojo/shell/capability_filter.h" |
24 #include "mojo/shell/connect_to_application_params.h" | 20 #include "mojo/shell/connect_to_application_params.h" |
25 #include "mojo/shell/fetcher.h" | 21 #include "mojo/shell/fetcher.h" |
26 #include "mojo/shell/identity.h" | 22 #include "mojo/shell/identity.h" |
27 #include "mojo/shell/native_runner.h" | 23 #include "mojo/shell/native_runner.h" |
| 24 #include "mojo/shell/public/interfaces/application.mojom.h" |
| 25 #include "mojo/shell/public/interfaces/application_manager.mojom.h" |
| 26 #include "mojo/shell/public/interfaces/service_provider.mojom.h" |
| 27 #include "mojo/shell/public/interfaces/shell.mojom.h" |
28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class FilePath; | 31 class FilePath; |
32 class SequencedWorkerPool; | 32 class SequencedWorkerPool; |
33 } | 33 } |
34 | 34 |
35 namespace mojo { | 35 namespace mojo { |
36 namespace shell { | 36 namespace shell { |
37 | 37 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 162 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
163 }; | 163 }; |
164 | 164 |
165 Shell::ConnectToApplicationCallback EmptyConnectCallback(); | 165 Shell::ConnectToApplicationCallback EmptyConnectCallback(); |
166 | 166 |
167 } // namespace shell | 167 } // namespace shell |
168 } // namespace mojo | 168 } // namespace mojo |
169 | 169 |
170 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_ | 170 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_ |
OLD | NEW |