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_DBUS_SERVICE_LOADER_H_ | 5 #ifndef MOJO_SHELL_DBUS_SERVICE_LOADER_H_ |
6 #define MOJO_SHELL_DBUS_SERVICE_LOADER_H_ | 6 #define MOJO_SHELL_DBUS_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 "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "mojo/public/cpp/system/core.h" | 12 #include "mojo/public/cpp/system/core.h" |
13 #include "mojo/public/interfaces/shell/shell.mojom.h" | |
14 #include "mojo/service_manager/service_loader.h" | 13 #include "mojo/service_manager/service_loader.h" |
15 #include "mojo/shell/keep_alive.h" | 14 #include "mojo/shell/keep_alive.h" |
16 #include "url/gurl.h" | 15 #include "url/gurl.h" |
17 | 16 |
18 namespace dbus { | 17 namespace dbus { |
19 class Bus; | 18 class Bus; |
20 } // namespace dbus | 19 } // namespace dbus |
21 | 20 |
22 namespace mojo { | 21 namespace mojo { |
23 namespace shell { | 22 namespace shell { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 typedef std::map<GURL, LoadContext*> LoadContextMap; | 80 typedef std::map<GURL, LoadContext*> LoadContextMap; |
82 LoadContextMap url_to_load_context_; | 81 LoadContextMap url_to_load_context_; |
83 | 82 |
84 DISALLOW_COPY_AND_ASSIGN(DBusServiceLoader); | 83 DISALLOW_COPY_AND_ASSIGN(DBusServiceLoader); |
85 }; | 84 }; |
86 | 85 |
87 } // namespace shell | 86 } // namespace shell |
88 } // namespace mojo | 87 } // namespace mojo |
89 | 88 |
90 #endif // MOJO_SHELL_DBUS_SERVICE_LOADER_H_ | 89 #endif // MOJO_SHELL_DBUS_SERVICE_LOADER_H_ |
OLD | NEW |