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

Unified Diff: media/base/media_log_event.h

Issue 7584013: Log PipelineImpl events to MediaLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase atop _and_diff_against_ 759001. 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
Index: media/base/media_log_event.h
diff --git a/media/base/media_log_event.h b/media/base/media_log_event.h
index 0c8e3da0408b7fb8fea74dd3190cf8636fb15f83..9d4e15e0a141a1d159d02e602abf27ef4d19350a 100644
--- a/media/base/media_log_event.h
+++ b/media/base/media_log_event.h
@@ -13,20 +13,33 @@ namespace media {
struct MediaLogEvent {
enum Type {
- // A media player is being created or destroyed.
+ // A WebMediaPlayer is being created or destroyed.
// params: none.
- CREATING,
- DESTROYING,
+ WEBMEDIAPLAYER_CREATED,
+ WEBMEDIAPLAYER_DESTROYED,
+
+ // A PipelineImpl is being created or destroyed.
+ // params: none.
+ PIPELINE_CREATED,
+ PIPELINE_DESTROYED,
// A media player is loading a resource.
// params: "url": <URL of the resource>.
LOAD,
+ // A media player has started seeking.
+ // params: "seek_target": <number of seconds to which to seek>.
+ SEEK,
+
// A media player has been told to play or pause.
// params: none.
PLAY,
PAUSE,
+ // The state of PipelineImpl has changed.
+ // params: "pipeline_state": <string name of the state>.
+ PIPELINE_STATE_CHANGED,
+
// The extents of the sliding buffer have changed.
// params: "buffer_start": <first buffered byte>.
// "buffer_current": <current offset>.

Powered by Google App Engine
This is Rietveld 408576698