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

Unified Diff: webrtc/p2p/base/stunport.h

Issue 2093623004: Add config to prune TURN ports (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Partially disable the test TestEachInterfaceHasItsOwnTurnPorts Created 4 years, 6 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/p2p/base/relayport.h ('k') | webrtc/p2p/base/tcpport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/stunport.h
diff --git a/webrtc/p2p/base/stunport.h b/webrtc/p2p/base/stunport.h
index 82be6fae2ae6714ac5c2c6269d42474fe2ae24e6..1bbe25f0e85bfbe1b02d0c8d679c03fcdc80dbba 100644
--- a/webrtc/p2p/base/stunport.h
+++ b/webrtc/p2p/base/stunport.h
@@ -80,8 +80,7 @@ class UDPPort : public Port {
const ServerAddresses& server_addresses() const {
return server_addresses_;
}
- void
- set_server_addresses(const ServerAddresses& addresses) {
+ void set_server_addresses(const ServerAddresses& addresses) {
server_addresses_ = addresses;
}
@@ -105,6 +104,8 @@ class UDPPort : public Port {
return protocol == UDP_PROTOCOL_NAME;
}
+ virtual ProtocolType GetProtocol() const { return PROTO_UDP; }
+
void set_stun_keepalive_delay(int delay) {
stun_keepalive_delay_ = delay;
}
« no previous file with comments | « webrtc/p2p/base/relayport.h ('k') | webrtc/p2p/base/tcpport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698