Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: components/nacl/browser/nacl_process_host.h

Issue 198083006: Update the task manager with the debug stub port chosen by nacl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | components/nacl/browser/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698