Index: webkit/media/filter_helpers.h |
diff --git a/webkit/media/filter_helpers.h b/webkit/media/filter_helpers.h |
index f34da86e33654024e29b5d203ce7cd691c2423d6..cdea3307c684096f6957eb0122e17618b57e8549 100644 |
--- a/webkit/media/filter_helpers.h |
+++ b/webkit/media/filter_helpers.h |
@@ -45,9 +45,16 @@ bool BuildMediaSourceCollection( |
media::FilterCollection* filter_collection, |
scoped_refptr<media::FFmpegVideoDecoder>* video_decoder); |
-// Builds the required filters for handling regular URLs, adds them to |
-// |filter_collection| and fills |video_decoder|. |
-void BuildDefaultCollection(const scoped_refptr<media::DataSource>& data_source, |
+// Builds the required filters for handling regular URLs and adds them to |
+// |filter_collection| and fills |video_decoder| returning true if successful. |
+// |
+// |local_source| refers to whether the data being fetched requires network |
+// access. |
+// |
+// TODO(scherkus): a data source should be able to tell us this. |
+void BuildDefaultCollection( |
+ const scoped_refptr<media::DataSource>& data_source, |
+ bool local_source, |
media::MessageLoopFactory* message_loop_factory, |
media::FilterCollection* filter_collection, |
scoped_refptr<media::FFmpegVideoDecoder>* video_decoder); |