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

Unified Diff: remoting/client/chromoting_client.cc

Issue 126123002: Show connection type in web-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index f87d9e8dccd74534e985e24f53e6e6c495f8e46b..856f2d28b271d2cdb19a0168e7b5c692923d0aa8 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -159,6 +159,13 @@ void ChromotingClient::OnConnectionReady(bool ready) {
user_interface_->OnConnectionReady(ready);
}
+void ChromotingClient::OnRouteChanged(const std::string& channel_name,
+ const protocol::TransportRoute& route) {
+ VLOG(1) << "ChromotingClient::OnRouteChanged(" << channel_name << ", "
Sergey Ulanov 2014/01/07 22:58:43 nit: There is already VLOG() for this in Connectio
Jamie 2014/01/08 11:39:34 I think it's better for consistency if they are al
+ << protocol::TransportRoute::GetTypeString(route.type) << ")";
+ user_interface_->OnRouteChanged(channel_name, route);
+}
+
void ChromotingClient::OnAuthenticated() {
DCHECK(task_runner_->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698