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

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

Issue 10332082: Remove reporting statistics reporting from chrome://media-internals and fix event logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 | Annotate | Revision Log
« 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 #pragma once 7 #pragma once
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // The audio renderer has been disabled. 63 // The audio renderer has been disabled.
64 // params: none. 64 // params: none.
65 AUDIO_RENDERER_DISABLED, 65 AUDIO_RENDERER_DISABLED,
66 66
67 // The extents of the sliding buffer have changed. 67 // The extents of the sliding buffer have changed.
68 // params: "buffer_start": <first buffered byte>. 68 // params: "buffer_start": <first buffered byte>.
69 // "buffer_current": <current offset>. 69 // "buffer_current": <current offset>.
70 // "buffer_end": <last buffered byte>. 70 // "buffer_end": <last buffered byte>.
71 BUFFERED_EXTENTS_CHANGED, 71 BUFFERED_EXTENTS_CHANGED,
72
73 // The recorded statistics of the media pipeline have been updated.
74 // params: "audio_bytes_decoded", "video_bytes_decoded",
75 // "video_frames_decoded", "video_frames_dropped": <integers>.
76 STATISTICS_UPDATED,
77 }; 72 };
78 73
79 int32 id; 74 int32 id;
80 Type type; 75 Type type;
81 base::DictionaryValue params; 76 base::DictionaryValue params;
82 base::Time time; 77 base::Time time;
83 }; 78 };
84 79
85 } // namespace media 80 } // namespace media
86 81
87 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ 82 #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