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

Unified Diff: remoting/jingle_glue/network_settings.h

Issue 209323002: New policies: enable/disable relay; port range (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a few more tests. 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
« no previous file with comments | « remoting/jingle_glue/chromium_port_allocator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/network_settings.h
diff --git a/remoting/jingle_glue/network_settings.h b/remoting/jingle_glue/network_settings.h
index a37b0bcb0facb4e57fff30802d23b0998ed0c715..cc6bb8c2b851b350e185c3e6b571240d9ba7386f 100644
--- a/remoting/jingle_glue/network_settings.h
+++ b/remoting/jingle_glue/network_settings.h
@@ -19,6 +19,9 @@ struct NetworkSettings {
// Active NAT traversal using STUN and relay servers.
NAT_TRAVERSAL_ENABLED,
+ // Active NAT traversal using STUN, but don't use relay servers.
+ NAT_TRAVERSAL_ENABLED_NO_RELAY,
Sergey Ulanov 2014/03/24 23:37:12 This breaks LibjingleTransportFactory::EnsureFresh
dcaiafa 2014/03/26 15:29:16 Good catch! Done.
+
// Don't use STUN or relay servers. Accept incoming P2P connection
// attempts, but don't initiate any. This ensures that the peer is
// on the same network. Note that connection will always fail if
« no previous file with comments | « remoting/jingle_glue/chromium_port_allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698