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

Unified Diff: src/trusted/debug_stub/transport.h

Issue 206493005: Provide chrome the option of learning the debug stub port chosen by nacl. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 9 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: src/trusted/debug_stub/transport.h
diff --git a/src/trusted/debug_stub/transport.h b/src/trusted/debug_stub/transport.h
index e4357d921ffe35f591c77a0d81ca7b58452dccf3..fb7b00ed8533c954bf8e37054a3399b8b8878afe 100644
--- a/src/trusted/debug_stub/transport.h
+++ b/src/trusted/debug_stub/transport.h
@@ -49,6 +49,9 @@ class SocketBinding {
// Accept a connection on an already-bound TCP port.
ITransport *AcceptConnection();
+ // Get port the socket is bound to.
+ uint16_t GetBoundPort();
+
private:
NaClSocketHandle socket_handle_;
};

Powered by Google App Engine
This is Rietveld 408576698