OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ |
6 #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ | 6 #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "mojo/application/public/interfaces/shell.mojom.h" | |
17 #include "mojo/shell/application_manager.h" | 16 #include "mojo/shell/application_manager.h" |
| 17 #include "mojo/shell/public/interfaces/shell.mojom.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 | 20 |
21 namespace mojo { | 21 namespace mojo { |
22 class ApplicationDelegate; | 22 class ApplicationDelegate; |
23 } | 23 } |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 // MojoShellContext hosts the browser's ApplicationManager, coordinating | 27 // MojoShellContext hosts the browser's ApplicationManager, coordinating |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 static base::LazyInstance<scoped_ptr<Proxy>> proxy_; | 63 static base::LazyInstance<scoped_ptr<Proxy>> proxy_; |
64 | 64 |
65 scoped_ptr<mojo::shell::ApplicationManager> application_manager_; | 65 scoped_ptr<mojo::shell::ApplicationManager> application_manager_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(MojoShellContext); | 67 DISALLOW_COPY_AND_ASSIGN(MojoShellContext); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace content | 70 } // namespace content |
71 | 71 |
72 #endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ | 72 #endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ |
OLD | NEW |