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

Side by Side Diff: webkit/media/filter_helpers.h

Issue 10905236: Move ChunkDemuxer handling from WMPProxy to WMPI and remove ChunkDemuxerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/media.gyp ('k') | webkit/media/filter_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_MEDIA_FILTER_HELPERS_H_ 5 #ifndef WEBKIT_MEDIA_FILTER_HELPERS_H_
6 #define WEBKIT_MEDIA_FILTER_HELPERS_H_ 6 #define WEBKIT_MEDIA_FILTER_HELPERS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 10
11 namespace media { 11 namespace media {
12 class Decryptor; 12 class Decryptor;
13 class ChunkDemuxerClient; 13 class ChunkDemuxer;
14 class DataSource; 14 class DataSource;
15 class FFmpegVideoDecoder; 15 class FFmpegVideoDecoder;
16 class FilterCollection; 16 class FilterCollection;
17 class MessageLoopFactory; 17 class MessageLoopFactory;
18 } 18 }
19 19
20 namespace WebKit { 20 namespace WebKit {
21 class WebURL; 21 class WebURL;
22 } 22 }
23 23
24 namespace webkit_media { 24 namespace webkit_media {
25 25
26 class MediaStreamClient; 26 class MediaStreamClient;
27 27
28 // Builds the required filters for handling media stream URLs and adds them to 28 // Builds the required filters for handling media stream URLs and adds them to
29 // |filter_collection| returning true if successful. 29 // |filter_collection| returning true if successful.
30 // 30 //
31 // |filter_collection| is not modified if this method returns false. 31 // |filter_collection| is not modified if this method returns false.
32 bool BuildMediaStreamCollection(const WebKit::WebURL& url, 32 bool BuildMediaStreamCollection(const WebKit::WebURL& url,
33 MediaStreamClient* client, 33 MediaStreamClient* client,
34 media::MessageLoopFactory* message_loop_factory, 34 media::MessageLoopFactory* message_loop_factory,
35 media::FilterCollection* filter_collection); 35 media::FilterCollection* filter_collection);
36 36
37 // Builds the required filters for handling media source URLs, adds them to 37 // Builds the required filters for handling media source URLs, adds them to
38 // |filter_collection| and fills |video_decoder| returning true if successful. 38 // |filter_collection|.
39 // 39 void BuildMediaSourceCollection(
40 // |filter_collection| is not modified if this method returns false. 40 const scoped_refptr<media::ChunkDemuxer>& demuxer,
41 bool BuildMediaSourceCollection(
42 const WebKit::WebURL& url,
43 const WebKit::WebURL& media_source_url,
44 media::ChunkDemuxerClient* client,
45 media::MessageLoopFactory* message_loop_factory, 41 media::MessageLoopFactory* message_loop_factory,
46 media::FilterCollection* filter_collection, 42 media::FilterCollection* filter_collection,
47 media::Decryptor* decryptor); 43 media::Decryptor* decryptor);
48 44
49 // Builds the required filters for handling regular URLs and adds them to 45 // Builds the required filters for handling regular URLs and adds them to
50 // |filter_collection| and fills |video_decoder| returning true if successful. 46 // |filter_collection| and fills |video_decoder| returning true if successful.
51 void BuildDefaultCollection( 47 void BuildDefaultCollection(
52 const scoped_refptr<media::DataSource>& data_source, 48 const scoped_refptr<media::DataSource>& data_source,
53 media::MessageLoopFactory* message_loop_factory, 49 media::MessageLoopFactory* message_loop_factory,
54 media::FilterCollection* filter_collection, 50 media::FilterCollection* filter_collection,
55 media::Decryptor* decryptor); 51 media::Decryptor* decryptor);
56 52
57 } // webkit_media 53 } // webkit_media
58 54
59 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_ 55 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_
OLDNEW
« no previous file with comments | « media/media.gyp ('k') | webkit/media/filter_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698