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

Unified Diff: remoting/protocol/audio_writer.cc

Issue 1654513003: Simplify message parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_done
Patch Set: Created 4 years, 11 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/protocol/audio_writer.h ('k') | remoting/protocol/channel_dispatcher_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/audio_writer.cc
diff --git a/remoting/protocol/audio_writer.cc b/remoting/protocol/audio_writer.cc
index be60d2e6955f9a02ee10a7b86627093babbfea3f..3ab624b402a348f6e6f0fdaf0502d70a619c1367 100644
--- a/remoting/protocol/audio_writer.cc
+++ b/remoting/protocol/audio_writer.cc
@@ -34,5 +34,9 @@ scoped_ptr<AudioWriter> AudioWriter::Create(const SessionConfig& config) {
return make_scoped_ptr(new AudioWriter());
}
+void AudioWriter::OnIncomingMessage(scoped_ptr<CompoundBuffer> message) {
+ LOG(ERROR) << "Received unexpected message on the audio channel.";
+}
+
} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/audio_writer.h ('k') | remoting/protocol/channel_dispatcher_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698