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

Unified Diff: remoting/protocol/audio_writer.cc

Issue 10535153: Added files for audio writers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a small style issue Created 8 years, 6 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/protocol/audio_writer.cc
diff --git a/remoting/protocol/audio_writer.cc b/remoting/protocol/audio_writer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8ddb82412240741dcbeaa86f2e883c7395b510a9
--- /dev/null
+++ b/remoting/protocol/audio_writer.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "remoting/protocol/audio_writer.h"
+
+#include "remoting/protocol/protobuf_audio_writer.h"
+#include "remoting/protocol/session_config.h"
+
+namespace remoting {
+namespace protocol {
+
+AudioWriter::~AudioWriter() { }
+
+// static
+AudioWriter* AudioWriter::Create(const SessionConfig& config) {
+ // TODO(kxing) make this correct
Sergey Ulanov 2012/06/14 17:53:17 nit: should be formatted like this: TODO(kxing):
Sergey Ulanov 2012/06/14 17:53:17 nit: comment is not clear. Should it be "Implement
kxing 2012/06/14 22:30:42 Sorry, I meant for the comment to read: "Support d
kxing 2012/06/14 22:30:42 Done.
+ return new ProtobufAudioWriter();
+}
+
+} // namespace protocol
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698