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

Unified Diff: media/base/media_log_event.h

Issue 7587007: Log FilterHost events in PipelineImpl to MediaLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing events called too often. Created 9 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
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_log_event.h
diff --git a/media/base/media_log_event.h b/media/base/media_log_event.h
index 9d4e15e0a141a1d159d02e602abf27ef4d19350a..1ebbaa88a25cd78427ac3cb550a6825b05678805 100644
--- a/media/base/media_log_event.h
+++ b/media/base/media_log_event.h
@@ -40,6 +40,32 @@ struct MediaLogEvent {
// params: "pipeline_state": <string name of the state>.
PIPELINE_STATE_CHANGED,
+ // An error has occurred in the pipeline.
+ // params: "pipeline_error": <string name of the error>.
+ PIPELINE_ERROR,
+
+ // The size of the video has been determined.
+ // params: "width": <integral width of the video>.
+ // "height": <integral height of the video>.
+ VIDEO_SIZE_SET,
+
+ // A property of the pipeline has been set by a filter.
+ // These take a single parameter based upon the name of the event and of
+ // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta.
+ DURATION_SET,
+ TOTAL_BYTES_SET,
+ STREAMING_SET,
+ LOADED_SET,
+ NETWORK_ACTIVITY_SET,
+
+ // Playback has ended.
+ // params: none.
+ ENDED,
+
+ // The audio renderer has been disabled.
+ // params: none.
+ AUDIO_RENDERER_DISABLED,
+
// The extents of the sliding buffer have changed.
// params: "buffer_start": <first buffered byte>.
// "buffer_current": <current offset>.
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698