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..634e5b88a7034b081f53bd9b4ee743dc72336582 100644 |
--- a/components/nacl/browser/nacl_process_host.h |
+++ b/components/nacl/browser/nacl_process_host.h |
@@ -106,12 +106,22 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
bool LaunchNaClGdb(); |
+ // Mark the process as using a particular GDB debug stub port and notify |
+ // listeners. |
+ void SetDebugStubPort(uint16_t port); |
+ |
#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 |
+ |
+#if defined(OS_WIN) |
+ // Called when the debug stub port has been selected. |
+ void OnDebugStubPortSelected(uint16_t debug_stub_port); |
+#endif |
+ |
bool LaunchSelLdr(); |
// BrowserChildProcessHostDelegate implementation: |