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

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: added some todos 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
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 26 matching lines...) Expand all
37 // 37 //
38 // |filter_collection| is not modified if this method returns false. 38 // |filter_collection| is not modified if this method returns false.
39 bool BuildMediaSourceCollection(const WebKit::WebURL& url, 39 bool BuildMediaSourceCollection(const WebKit::WebURL& url,
40 const WebKit::WebURL& media_source_url, 40 const WebKit::WebURL& media_source_url,
41 media::ChunkDemuxerClient* client, 41 media::ChunkDemuxerClient* client,
42 media::MessageLoopFactory* message_loop_factory, 42 media::MessageLoopFactory* message_loop_factory,
43 media::FilterCollection* filter_collection); 43 media::FilterCollection* filter_collection);
44 44
45 // 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
46 // |filter_collection|. 46 // |filter_collection|.
47 //
48 // |local_source| refers to whether the data being fetched requires network
49 // access.
50 //
51 // TODO(scherkus): a data source should be able to tell us this.
47 void BuildDefaultCollection(const scoped_refptr<media::DataSource>& data_source, 52 void BuildDefaultCollection(const scoped_refptr<media::DataSource>& data_source,
53 bool local_source,
48 media::MessageLoopFactory* message_loop_factory, 54 media::MessageLoopFactory* message_loop_factory,
49 media::FilterCollection* filter_collection); 55 media::FilterCollection* filter_collection);
50 56
51 } // webkit_media 57 } // webkit_media
52 58
53 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_ 59 #endif // WEBKIT_MEDIA_FILTER_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698