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

Side by Side Diff: media/base/demuxer_factory.h

Issue 9860027: Remove DemuxerFactory and URL parameter from Pipeline. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: again Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/demuxer_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_DEMUXER_FACTORY_H_
6 #define MEDIA_BASE_DEMUXER_FACTORY_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11 #include "media/base/media_export.h"
12 #include "media/base/pipeline_status.h"
13
14 namespace media {
15
16 class Demuxer;
17
18 // Asynchronous factory interface for building Demuxer objects.
19 class MEDIA_EXPORT DemuxerFactory {
20 public:
21 // Ownership of the Demuxer is transferred through this callback.
22 typedef base::Callback<void(PipelineStatus, Demuxer*)> BuildCallback;
23
24 virtual ~DemuxerFactory();
25
26 // Builds a Demuxer for |url| and returns it via |callback|.
27 virtual void Build(const std::string& url, const BuildCallback& callback) = 0;
28 };
29
30 } // namespace media
31
32 #endif // MEDIA_BASE_DEMUXER_FACTORY_H_
OLDNEW
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/demuxer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698