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

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..096888ea3a7dad5e2a4121ba4955dd01ccff37f7 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::OnConnectionReady(bool ready) {
+ VLOG(1) << "ChromotingClient::OnConnectionReady(" << ready << ")";
+ user_interface_->OnConnectionReady(ready);
+}
+
void ChromotingClient::OnPacketDone(bool last_packet,
base::Time decode_start) {
if (!task_runner_->BelongsToCurrentThread()) {

Powered by Google App Engine
This is Rietveld 408576698