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

Unified Diff: content/renderer/media/buffered_data_source.h

Issue 22914021: Logged information from BufferedDataSource including (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « no previous file | content/renderer/media/buffered_data_source.cc » ('j') | content/renderer/media/buffered_data_source.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698