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

Unified Diff: remoting/host/client_session.cc

Issue 11192042: Protocol plumbing for audio toggle. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/host/client_session.h ('k') | remoting/proto/control.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 8a9b84295a254909421011425b08d6bddefc407f..e396779e01249802d2bd6ff4b5a14007a5513293 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -87,6 +87,13 @@ void ClientSession::ControlVideo(const protocol::VideoControl& video_control) {
}
}
+void ClientSession::ControlAudio(const protocol::AudioControl& audio_control) {
+ if (audio_control.has_enable()) {
+ VLOG(1) << "Received AudioControl (enable="
+ << audio_control.enable() << ")";
+ }
+}
+
void ClientSession::OnConnectionAuthenticated(
protocol::ConnectionToClient* connection) {
DCHECK(CalledOnValidThread());
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/proto/control.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698