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

Unified Diff: media/filters/dummy_demuxer_factory.cc

Issue 9860027: Remove DemuxerFactory and URL parameter from Pipeline. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: again Created 8 years, 9 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 | « media/filters/dummy_demuxer_factory.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/dummy_demuxer_factory.cc
diff --git a/media/filters/dummy_demuxer_factory.cc b/media/filters/dummy_demuxer_factory.cc
deleted file mode 100644
index 34b79ba91aea5162fba73e5adb214ee51bc8dedd..0000000000000000000000000000000000000000
--- a/media/filters/dummy_demuxer_factory.cc
+++ /dev/null
@@ -1,29 +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 "media/filters/dummy_demuxer_factory.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "media/filters/dummy_demuxer.h"
-
-namespace media {
-
-DummyDemuxerFactory::DummyDemuxerFactory(bool has_video,
- bool has_audio,
- bool local_source)
- : has_video_(has_video),
- has_audio_(has_audio),
- local_source_(local_source) {
-}
-
-DummyDemuxerFactory::~DummyDemuxerFactory() {}
-
-void DummyDemuxerFactory::Build(const std::string& url,
- const BuildCallback& cb) {
- scoped_refptr<DummyDemuxer> demuxer =
- new DummyDemuxer(has_video_, has_audio_, local_source_);
- cb.Run(PIPELINE_OK, demuxer.get());
-}
-
-} // namespace media
« no previous file with comments | « media/filters/dummy_demuxer_factory.h ('k') | media/filters/ffmpeg_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698