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_SERVICE_LOADER_H_ | 5 #ifndef MOJO_SHELL_DYNAMIC_SERVICE_LOADER_H_ |
6 #define MOJO_SHELL_DYNAMIC_SERVICE_LOADER_H_ | 6 #define MOJO_SHELL_DYNAMIC_SERVICE_LOADER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
| 12 #include "mojo/public/interfaces/shell/shell.mojom.h" |
12 #include "mojo/service_manager/service_loader.h" | 13 #include "mojo/service_manager/service_loader.h" |
13 #include "mojo/shell/dynamic_service_runner.h" | 14 #include "mojo/shell/dynamic_service_runner.h" |
14 #include "mojo/shell/keep_alive.h" | 15 #include "mojo/shell/keep_alive.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace mojo { | 18 namespace mojo { |
18 namespace shell { | 19 namespace shell { |
19 | 20 |
20 class Context; | 21 class Context; |
21 class DynamicServiceRunnerFactory; | 22 class DynamicServiceRunnerFactory; |
(...skipping 28 matching lines...) Expand all Loading... |
50 typedef std::map<GURL, LoadContext*> LoadContextMap; | 51 typedef std::map<GURL, LoadContext*> LoadContextMap; |
51 LoadContextMap url_to_load_context_; | 52 LoadContextMap url_to_load_context_; |
52 | 53 |
53 DISALLOW_COPY_AND_ASSIGN(DynamicServiceLoader); | 54 DISALLOW_COPY_AND_ASSIGN(DynamicServiceLoader); |
54 }; | 55 }; |
55 | 56 |
56 } // namespace shell | 57 } // namespace shell |
57 } // namespace mojo | 58 } // namespace mojo |
58 | 59 |
59 #endif // MOJO_SHELL_DYNAMIC_SERVICE_LOADER_H_ | 60 #endif // MOJO_SHELL_DYNAMIC_SERVICE_LOADER_H_ |
OLD | NEW |