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

Side by Side Diff: webkit/media/filter_helpers.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 | « webkit/media/buffered_data_source_unittest.cc ('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
(...skipping 27 matching lines...) Expand all
38 // 38 //
39 // |filter_collection| is not modified if this method returns false. 39 // |filter_collection| is not modified if this method returns false.
40 bool BuildMediaSourceCollection( 40 bool BuildMediaSourceCollection(
41 const WebKit::WebURL& url, 41 const WebKit::WebURL& url,
42 const WebKit::WebURL& media_source_url, 42 const WebKit::WebURL& media_source_url,
43 media::ChunkDemuxerClient* client, 43 media::ChunkDemuxerClient* client,
44 media::MessageLoopFactory* message_loop_factory, 44 media::MessageLoopFactory* message_loop_factory,
45 media::FilterCollection* filter_collection, 45 media::FilterCollection* filter_collection,
46 scoped_refptr<media::FFmpegVideoDecoder>* video_decoder); 46 scoped_refptr<media::FFmpegVideoDecoder>* video_decoder);
47 47
48 // Builds the required filters for handling regular URLs, adds them to 48 // Builds the required filters for handling regular URLs and adds them to
49 // |filter_collection| and fills |video_decoder|. 49 // |filter_collection| and fills |video_decoder| returning true if successful.
50 void BuildDefaultCollection(const scoped_refptr<media::DataSource>& data_source, 50 //
51 // |local_source| refers to whether the data being fetched requires network
52 // access.
53 //
54 // TODO(scherkus): a data source should be able to tell us this.
55 void BuildDefaultCollection(
56 const scoped_refptr<media::DataSource>& data_source,
57 bool local_source,
51 media::MessageLoopFactory* message_loop_factory, 58 media::MessageLoopFactory* message_loop_factory,
52 media::FilterCollection* filter_collection, 59 media::FilterCollection* filter_collection,
53 scoped_refptr<media::FFmpegVideoDecoder>* video_decoder); 60 scoped_refptr<media::FFmpegVideoDecoder>* video_decoder);
54 61
55 } // webkit_media 62 } // webkit_media
56 63
57 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_ 64 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_
OLDNEW
« no previous file with comments | « webkit/media/buffered_data_source_unittest.cc ('k') | webkit/media/filter_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698