Chromium Code Reviews| Index: components/nacl/browser/nacl_process_host.h |
| diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h |
| index 37af81adf6ba528cc867aae0be08e7942923d1d1..6a1c891a7da9a5f1b01e27e9d288902afd27d9c4 100644 |
| --- a/components/nacl/browser/nacl_process_host.h |
| +++ b/components/nacl/browser/nacl_process_host.h |
| @@ -106,12 +106,20 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
| bool LaunchNaClGdb(); |
| + // Mark the process as using a particular GDB debug stub port and notify |
| + // listeners. |
| + void ChangeDebugStubPort(uint16_t port); |
|
Mark Seaborn
2014/05/08 15:52:23
Can you rename "Change" to "Set", please? This is
bradn
2014/05/08 17:00:24
It has side effects in that it triggers listeners,
|
| + |
| #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. |
| net::SocketDescriptor GetDebugStubSocketHandle(); |
| #endif |
| + |
| + // Called when the debug stub port has been selected. |
| + void OnDebugStubPortSelected(uint16_t debug_stub_port); |
| + |
| bool LaunchSelLdr(); |
| // BrowserChildProcessHostDelegate implementation: |