Index: content/renderer/media/buffered_data_source.h |
diff --git a/content/renderer/media/buffered_data_source.h b/content/renderer/media/buffered_data_source.h |
index da451ba9a73e52b20866a30760fde51c3a1d20d3..b16bd22ad0db5f6d4e13b23d9a2f72ce107b41ef 100644 |
--- a/content/renderer/media/buffered_data_source.h |
+++ b/content/renderer/media/buffered_data_source.h |
@@ -54,6 +54,13 @@ class CONTENT_EXPORT BufferedDataSource : public media::DataSource { |
BufferedResourceLoader::CORSMode cors_mode, |
const InitializeCB& init_cb); |
+ // Wrap an existing InitializeCB and return a new InitializeCB that calls |
+ // the original but also logs information about the BufferedDataSource |
+ // post initialization. |
+ InitializeCB CreateInitializeCB( |
+ const scoped_refptr<media::MediaLog>& media_log, |
+ const InitializeCB& init_cb); |
+ |
// Adjusts the buffering algorithm based on the given preload value. |
void SetPreload(Preload preload); |