Chromium Code Reviews| Index: chrome/browser/nacl_host/nacl_process_host.h |
| =================================================================== |
| --- chrome/browser/nacl_host/nacl_process_host.h (revision 155701) |
| +++ chrome/browser/nacl_host/nacl_process_host.h (working copy) |
| @@ -17,6 +17,7 @@ |
| #include "content/public/browser/browser_child_process_host_delegate.h" |
| #include "googleurl/src/gurl.h" |
| #include "ipc/ipc_channel_handle.h" |
| +#include "net/base/tcp_listen_socket.h" |
|
szym
2012/09/11 16:17:24
Don't include this. Instead, forward-declare Socke
halyavin
2012/09/12 14:29:58
SocketDescriptor is not a struct or a class, it ca
|
| class ChromeRenderMessageFilter; |
| class CommandLine; |
| @@ -91,6 +92,12 @@ |
| bool LaunchNaClGdb(base::ProcessId pid); |
| void OnNaClGdbAttached(); |
| #endif |
| +#if defined(OS_POSIX) |
| + // Create bound TCP socket in the browser process so that the NaCl GDB debug |
| + // stub can use it to accept incoming connections even when the Chrome sandbox |
| + // is enabled. |
| + SocketDescriptor GetDebugStubSocketHandle(); |
| +#endif |
| // Get path to manifest on local disk if possible. |
| FilePath GetManifestPath(); |
| bool LaunchSelLdr(); |