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_DYNAMIC_APPLICATION_LOADER_H_ | 5 #ifndef SHELL_DYNAMIC_APPLICATION_LOADER_H_ |
6 #define MOJO_SHELL_DYNAMIC_APPLICATION_LOADER_H_ | 6 #define SHELL_DYNAMIC_APPLICATION_LOADER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "mojo/application_manager/application_loader.h" | 14 #include "mojo/application_manager/application_loader.h" |
15 #include "mojo/public/cpp/system/core.h" | 15 #include "mojo/public/cpp/system/core.h" |
16 #include "mojo/services/public/interfaces/network/network_service.mojom.h" | 16 #include "mojo/services/public/interfaces/network/network_service.mojom.h" |
17 #include "mojo/shell/dynamic_service_runner.h" | 17 #include "shell/dynamic_service_runner.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 | 19 |
20 namespace mojo { | 20 namespace mojo { |
21 namespace shell { | 21 namespace shell { |
22 | 22 |
23 class Context; | 23 class Context; |
24 class DynamicServiceRunnerFactory; | 24 class DynamicServiceRunnerFactory; |
25 class DynamicServiceRunner; | 25 class DynamicServiceRunner; |
26 | 26 |
27 // An implementation of ApplicationLoader that retrieves a dynamic library | 27 // An implementation of ApplicationLoader that retrieves a dynamic library |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 MimeTypeToURLMap mime_type_to_url_; | 61 MimeTypeToURLMap mime_type_to_url_; |
62 ScopedVector<Loader> loaders_; | 62 ScopedVector<Loader> loaders_; |
63 LoaderCompleteCallback loader_complete_callback_; | 63 LoaderCompleteCallback loader_complete_callback_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(DynamicApplicationLoader); | 65 DISALLOW_COPY_AND_ASSIGN(DynamicApplicationLoader); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace shell | 68 } // namespace shell |
69 } // namespace mojo | 69 } // namespace mojo |
70 | 70 |
71 #endif // MOJO_SHELL_DYNAMIC_APPLICATION_LOADER_H_ | 71 #endif // SHELL_DYNAMIC_APPLICATION_LOADER_H_ |
OLD | NEW |