Index: remoting/signaling/signal_strategy.h |
diff --git a/remoting/signaling/signal_strategy.h b/remoting/signaling/signal_strategy.h |
index 479f8b7a4ff68de589e5b041e2eac1169aaa230a..1edeeba0a20b3917fe59042f123008a8f9038425 100644 |
--- a/remoting/signaling/signal_strategy.h |
+++ b/remoting/signaling/signal_strategy.h |
@@ -16,6 +16,8 @@ class XmlElement; |
namespace remoting { |
+class SignalingAddress; |
+ |
class SignalStrategy { |
public: |
enum State { |
@@ -75,8 +77,8 @@ class SignalStrategy { |
// Returns the last error. Set when state changes to DISCONNECT. |
virtual Error GetError() const = 0; |
- // Returns local JID or an empty string when not connected. |
- virtual std::string GetLocalJid() const = 0; |
+ // Local address. An empty value is returned when not connected. |
+ virtual const SignalingAddress& GetLocalAddress() const = 0; |
// Add a |listener| that can listen to all incoming |
// messages. Doesn't take ownership of the |listener|. All listeners |