Index: remoting/protocol/connection_to_host.h |
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h |
index aadfa7bd1fe22482075d2c795f069c1e9fe92c34..dad8ba85cfe78287a116071f29fe5bdb462dbff5 100644 |
--- a/remoting/protocol/connection_to_host.h |
+++ b/remoting/protocol/connection_to_host.h |
@@ -78,6 +78,10 @@ class ConnectionToHost : public SignalStrategy::Listener, |
// delayed. This is used to indicate in the UI when connection is |
// temporarily broken. |
virtual void OnConnectionReady(bool ready) = 0; |
+ |
+ // Called when the route type (direct vs. STUN vs. proxied) changes. |
+ virtual void OnRouteChanged(const std::string& channel_name, |
+ const protocol::TransportRoute& route) = 0; |
}; |
ConnectionToHost(bool allow_nat_traversal); |