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

Unified Diff: remoting/protocol/transport_config.h

Issue 10233021: Move PortAllocator creation out of LibjingleTransportFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/protocol/session_manager.h ('k') | remoting/protocol/transport_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/transport_config.h
diff --git a/remoting/protocol/transport_config.h b/remoting/protocol/transport_config.h
index 8b1089ab729e5bf6dac13ce930c7a6206aa76c87..d996bd552543777904e6f03bc38fff3df9a1c39a 100644
--- a/remoting/protocol/transport_config.h
+++ b/remoting/protocol/transport_config.h
@@ -14,29 +14,9 @@ struct TransportConfig {
TransportConfig();
~TransportConfig();
- enum NatTraversalMode {
- // 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
- // both ends use this mode.
- NAT_TRAVERSAL_DISABLED,
-
- // Don't use STUN or relay servers but make outgoing connections.
- NAT_TRAVERSAL_OUTGOING,
-
- // Active NAT traversal using STUN and relay servers.
- NAT_TRAVERSAL_ENABLED,
- };
-
- NatTraversalMode nat_traversal_mode;
std::string stun_server;
std::string relay_server;
std::string relay_token;
-
- // |min_port| and |max_port| specify range (inclusive) of ports used by
- // P2P sessions. Any port can be used when both values are set to 0.
- int min_port;
- int max_port;
};
} // namespace protocol
« no previous file with comments | « remoting/protocol/session_manager.h ('k') | remoting/protocol/transport_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698