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

Unified Diff: remoting/client/chromoting_client.cc

Issue 10692179: Propagate connection state from networking layer to UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 452dee92b49e4c21e92b7cab9c4b7312af7e02a0..1454b3bc87d98c7a8b5462355bdd969212fd82fc 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -184,6 +184,11 @@ void ChromotingClient::OnConnectionState(
user_interface_->OnConnectionState(state, error);
}
+void ChromotingClient::OnConnectionInactive(bool inactive) {
+ VLOG(1) << "ChromotingClient::OnConnectionInactive(" << inactive << ")";
+ user_interface_->OnConnectionInactive(inactive);
+}
+
void ChromotingClient::OnPacketDone(bool last_packet,
base::Time decode_start) {
if (!task_runner_->BelongsToCurrentThread()) {

Powered by Google App Engine
This is Rietveld 408576698