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

Unified Diff: remoting/protocol/video_writer.cc

Issue 577473002: Simplify VideoReader and VideoWriter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/video_writer.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_writer.cc
diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc
deleted file mode 100644
index 736e8ec0ec1db4c44a8b7acd89ecac2aed2ede6e..0000000000000000000000000000000000000000
--- a/remoting/protocol/video_writer.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// 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/video_writer.h"
-
-#include "remoting/protocol/session_config.h"
-#include "remoting/protocol/protobuf_video_writer.h"
-
-namespace remoting {
-namespace protocol {
-
-VideoWriter::~VideoWriter() { }
-
-// static
-scoped_ptr<VideoWriter> VideoWriter::Create(const SessionConfig& config) {
- const ChannelConfig& video_config = config.video_config();
- if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) {
- return scoped_ptr<VideoWriter>(new ProtobufVideoWriter());
- }
- return scoped_ptr<VideoWriter>();
-}
-
-} // namespace protocol
-} // namespace remoting
« no previous file with comments | « remoting/protocol/video_writer.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698