Index: remoting/protocol/transport_context.h |
diff --git a/remoting/protocol/transport_context.h b/remoting/protocol/transport_context.h |
index a944e247b5383ee73fb1abd1d17faff5a1cd5e76..0cc624117912dba50e0b9956b4aa485d9bd1f369 100644 |
--- a/remoting/protocol/transport_context.h |
+++ b/remoting/protocol/transport_context.h |
@@ -42,6 +42,11 @@ class TransportContext : public base::RefCountedThreadSafe<TransportContext> { |
const NetworkSettings& network_settings, |
TransportRole role); |
+ // Enables standard TURN servers. |
+ void UseTurn(const std::string& ice_config_url) { |
+ ice_config_url_ = ice_config_url; |
+ } |
+ |
// Prepares fresh JingleInfo. It may be called while connection is being |
// negotiated to minimize the chance that the following GetIceConfig() will |
// be blocking. |
@@ -73,6 +78,8 @@ class TransportContext : public base::RefCountedThreadSafe<TransportContext> { |
NetworkSettings network_settings_; |
TransportRole role_; |
+ std::string ice_config_url_; |
+ |
scoped_ptr<IceConfigRequest> ice_config_request_; |
IceConfig ice_config_; |