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

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: 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 dd1735e27c920bab65e3785689cbe7c5dfb75ec6..09bae192b01c0f6ef7c30c6fe1d053a59c57d021 100644
--- a/media/base/media_log_event.h
+++ b/media/base/media_log_event.h
@@ -13,19 +13,32 @@ 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": <intergral value of the state>.
scherkus (not reviewing) 2011/08/08 23:14:15 what if this was setting a string so that Pipeline
Scott Franklin 2011/08/09 00:31:28 oops, forgot to update the comment. The event does
+ PIPELINE_STATE_CHANGED,
};
int32 id;

Powered by Google App Engine
This is Rietveld 408576698