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

Unified Diff: remoting/host/client_session.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/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 86bbe7ffa12800eb0bcb1f213f888acc2e28cdd2..b1bc7d1ebc3f9372e9f1186961d31a2df91a1f39 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -187,6 +187,12 @@ void ClientSession::RequestPairing(
}
}
+void ClientSession::ProcessClientJson(const protocol::JsonMessage& message) {
+ // No messages are currently supported.
+ LOG(INFO) << "Unexpected message received: "
+ << message.type() << ": " << message.json();
+}
+
void ClientSession::OnConnectionAuthenticated(
protocol::ConnectionToClient* connection) {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698