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/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/common/application_setup.mojom.h" | 12 #include "content/common/application_setup.mojom.h" |
13 #include "content/common/mojo/channel_init.h" | 13 #include "content/common/mojo/channel_init.h" |
14 #include "content/common/mojo/service_registry_impl.h" | 14 #include "content/common/mojo/service_registry_impl.h" |
15 #include "mojo/edk/embedder/scoped_platform_handle.h" | 15 #include "mojo/edk/embedder/scoped_platform_handle.h" |
16 #include "mojo/public/cpp/system/message_pipe.h" | 16 #include "mojo/public/cpp/system/message_pipe.h" |
17 | 17 |
18 #if defined(OS_ANDROID) | 18 #if defined(OS_ANDROID) |
19 #include "content/browser/mojo/service_registry_android.h" | 19 #include "content/public/browser/android/service_registry_android.h" |
20 #endif | 20 #endif |
21 | 21 |
22 namespace IPC { | 22 namespace IPC { |
23 class Sender; | 23 class Sender; |
24 } | 24 } |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 | 27 |
28 // MojoApplicationHost represents the code needed on the browser side to setup | 28 // MojoApplicationHost represents the code needed on the browser side to setup |
29 // a child process as a Mojo application via Chrome IPC. The child process | 29 // a child process as a Mojo application via Chrome IPC. The child process |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 #if defined(OS_ANDROID) | 66 #if defined(OS_ANDROID) |
67 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; | 67 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; |
68 #endif | 68 #endif |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost); | 70 DISALLOW_COPY_AND_ASSIGN(MojoApplicationHost); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
74 | 74 |
75 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ | 75 #endif // CONTENT_BROWSER_MOJO_MOJO_APPLICATION_HOST_H_ |
OLD | NEW |