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

Unified Diff: remoting/host/signaling_connector.cc

Issue 2798393007: Use SignalingAddress in SignalStrategy insterface. (Closed)
Patch Set: header Created 3 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/host/register_support_host_request_unittest.cc ('k') | remoting/protocol/jingle_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/signaling_connector.cc
diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc
index 1309403a60d648e991eed202e255d7344f5a886c..1b617f4a8cab0d4bd3ec94b4912ed6de3410c746 100644
--- a/remoting/host/signaling_connector.cc
+++ b/remoting/host/signaling_connector.cc
@@ -14,6 +14,7 @@
#include "net/url_request/url_request_context_getter.h"
#include "remoting/base/logging.h"
#include "remoting/host/dns_blackhole_checker.h"
+#include "remoting/signaling/signaling_address.h"
namespace remoting {
@@ -70,7 +71,7 @@ void SignalingConnector::OnSignalStrategyStateChange(
if (state == SignalStrategy::CONNECTED) {
HOST_LOG << "Signaling connected. New JID: "
- << signal_strategy_->GetLocalJid();
+ << signal_strategy_->GetLocalAddress().jid();
reconnect_attempts_ = 0;
} else if (state == SignalStrategy::DISCONNECTED) {
HOST_LOG << "Signaling disconnected. error="
« no previous file with comments | « remoting/host/register_support_host_request_unittest.cc ('k') | remoting/protocol/jingle_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698