| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |