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

Unified Diff: webrtc/base/proxyserver.h

Issue 1215713003: Ensuring that UDP TURN servers are always used as STUN servers. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing compiler warning from size_t->int cast Created 5 years, 5 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
« no previous file with comments | « webrtc/base/natsocketfactory.cc ('k') | webrtc/base/proxyserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/proxyserver.h
diff --git a/webrtc/base/proxyserver.h b/webrtc/base/proxyserver.h
index 83fe6c2c09f3876bc1a80e0f9598cab45f3d503f..711ed55bf881c4de64d325041bd2acdf5b12d93a 100644
--- a/webrtc/base/proxyserver.h
+++ b/webrtc/base/proxyserver.h
@@ -64,6 +64,9 @@ class ProxyServer : public sigslot::has_slots<> {
SocketFactory* ext_factory, const SocketAddress& ext_ip);
~ProxyServer() override;
+ // Returns the address to which the proxy server is bound
+ SocketAddress GetServerAddress();
+
protected:
void OnAcceptEvent(AsyncSocket* socket);
virtual AsyncProxyServerSocket* WrapSocket(AsyncSocket* socket) = 0;
« no previous file with comments | « webrtc/base/natsocketfactory.cc ('k') | webrtc/base/proxyserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698