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

Side by Side Diff: media/base/media_log_event.h

Issue 13870004: Expose MEDIA_STATISTICS stats to chrome://media-internals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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 unified diff | Download patch
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_MEDIA_LOG_EVENT_H_ 5 #ifndef MEDIA_BASE_MEDIA_LOG_EVENT_H_
6 #define MEDIA_BASE_MEDIA_LOG_EVENT_H_ 6 #define MEDIA_BASE_MEDIA_LOG_EVENT_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // The extents of the sliding buffer have changed. 66 // The extents of the sliding buffer have changed.
67 // params: "buffer_start": <first buffered byte>. 67 // params: "buffer_start": <first buffered byte>.
68 // "buffer_current": <current offset>. 68 // "buffer_current": <current offset>.
69 // "buffer_end": <last buffered byte>. 69 // "buffer_end": <last buffered byte>.
70 BUFFERED_EXTENTS_CHANGED, 70 BUFFERED_EXTENTS_CHANGED,
71 71
72 // Errors reported by Media Source Extensions code. 72 // Errors reported by Media Source Extensions code.
73 MEDIA_SOURCE_ERROR, 73 MEDIA_SOURCE_ERROR,
74 // params: "error": Error string describing the error detected. 74 // params: "error": Error string describing the error detected.
75
76 // Statistics for pipeline.
77 // params: "decoded_audio_bytes": <decoded audio bytes of the video>
78 // "decoded_video_bytes": <decoded video bytes of the video>
79 // "decoded_video_frames": <decoded video frames of the video>
80 // "dropped_video_frames": <dropped video frames of the video>
81 PIPELINE_STATISTICS_CHANGED,
75 }; 82 };
76 83
77 int32 id; 84 int32 id;
78 Type type; 85 Type type;
79 base::DictionaryValue params; 86 base::DictionaryValue params;
80 base::Time time; 87 base::Time time;
81 }; 88 };
82 89
83 } // namespace media 90 } // namespace media
84 91
85 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 92 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_
OLDNEW
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698