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

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
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/client_user_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index e77c53af2a8a9f591cde5e8af3e48239f8bbb9a5..b66a13c8775f507d7d441bb9020a5a51d9ef8d45 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()) {
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/client_user_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698