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 CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ | 5 #ifndef CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ |
6 #define CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ | 6 #define CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ |
7 | 7 |
8 #include "base/process/process_handle.h" | 8 #include "base/process/process_handle.h" |
9 #include "content/common/mojo/service_registry_impl.h" | 9 #include "content/common/mojo/service_registry_impl.h" |
10 #include "mojo/embedder/channel_init.h" | 10 #include "mojo/edk/embedder/channel_init.h" |
11 #include "mojo/embedder/scoped_platform_handle.h" | 11 #include "mojo/edk/embedder/scoped_platform_handle.h" |
12 | 12 |
13 namespace IPC { | 13 namespace IPC { |
14 class Sender; | 14 class Sender; |
15 } | 15 } |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 // MojoApplicationHost represents the code needed on the browser side to setup | 19 // MojoApplicationHost represents the code needed on the browser side to setup |
20 // a child process as a Mojo application via Chrome IPC. The child process | 20 // a child process as a Mojo application via Chrome IPC. The child process |
21 // should use MojoApplication to handle messages generated by an instance of | 21 // should use MojoApplication to handle messages generated by an instance of |
(...skipping 23 matching lines...) Expand all Loading... |
45 bool did_activate_; | 45 bool did_activate_; |
46 | 46 |
47 ServiceRegistryImpl service_registry_; | 47 ServiceRegistryImpl service_registry_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost); | 49 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace content | 52 } // namespace content |
53 | 53 |
54 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ | 54 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ |
OLD | NEW |