| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 11 #include "base/file_util_proxy.h" | 11 #include "base/file_util_proxy.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 15 #include "base/process.h" | 15 #include "base/process.h" |
| 16 #include "chrome/common/nacl_types.h" | 16 #include "chrome/common/nacl_types.h" |
| 17 #include "content/public/browser/browser_child_process_host_delegate.h" | 17 #include "content/public/browser/browser_child_process_host_delegate.h" |
| 18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 19 #include "ipc/ipc_channel_handle.h" | 19 #include "ipc/ipc_channel_handle.h" |
| 20 | 20 |
| 21 class ChromeRenderMessageFilter; | 21 class ChromeRenderMessageFilter; |
| 22 class CommandLine; | 22 class CommandLine; |
| 23 class ExtensionInfoMap; | 23 class ExtensionInfoMap; |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 class BrowserChildProcessHost; | 26 class BrowserChildProcessHost; |
| 27 class RenderProcessHost; |
| 28 class ResourceContext; |
| 27 } | 29 } |
| 28 | 30 |
| 29 namespace IPC { | 31 namespace IPC { |
| 30 class ChannelProxy; | 32 class ChannelProxy; |
| 31 } | 33 } |
| 32 | 34 |
| 33 // Represents the browser side of the browser <--> NaCl communication | 35 // Represents the browser side of the browser <--> NaCl communication |
| 34 // channel. There will be one NaClProcessHost per NaCl process | 36 // channel. There will be one NaClProcessHost per NaCl process |
| 35 // The browser is responsible for starting the NaCl process | 37 // The browser is responsible for starting the NaCl process |
| 36 // when requested by the renderer. | 38 // when requested by the renderer. |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 184 |
| 183 // Channel proxy to terminate the NaCl-Browser PPAPI channel. | 185 // Channel proxy to terminate the NaCl-Browser PPAPI channel. |
| 184 scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_; | 186 scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_; |
| 185 // Plugin listener, to forward browser channel messages to us. | 187 // Plugin listener, to forward browser channel messages to us. |
| 186 PluginListener ipc_plugin_listener_; | 188 PluginListener ipc_plugin_listener_; |
| 187 | 189 |
| 188 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 190 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
| 189 }; | 191 }; |
| 190 | 192 |
| 191 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 193 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| OLD | NEW |