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

Unified Diff: remoting/client/chromoting_client.cc

Issue 22477006: Added JsonMessage to the control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 2d308c92c47a875d67ad1b1dc6b15b78a88a84ef..bca17c9f75d5cf8034f9671d66b44955189266a3 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -119,6 +119,12 @@ void ChromotingClient::SetPairingResponse(
user_interface_->SetPairingResponse(pairing_response);
}
+void ChromotingClient::ProcessHostJson(const protocol::JsonMessage& message) {
+ DCHECK(task_runner_->BelongsToCurrentThread());
+
+ user_interface_->ProcessHostJson(message);
+}
+
void ChromotingClient::InjectClipboardEvent(
const protocol::ClipboardEvent& event) {
DCHECK(task_runner_->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698