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 | 7 |
8 #include "base/time.h" | 8 #include "base/time.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // The audio renderer has been disabled. | 62 // The audio renderer has been disabled. |
63 // params: none. | 63 // params: none. |
64 AUDIO_RENDERER_DISABLED, | 64 AUDIO_RENDERER_DISABLED, |
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 |
| 72 // Errors reported by Media Source Extensions code. |
| 73 MEDIA_SOURCE_ERROR, |
| 74 // params: "error": Error string describing the error detected. |
71 }; | 75 }; |
72 | 76 |
73 int32 id; | 77 int32 id; |
74 Type type; | 78 Type type; |
75 base::DictionaryValue params; | 79 base::DictionaryValue params; |
76 base::Time time; | 80 base::Time time; |
77 }; | 81 }; |
78 | 82 |
79 } // namespace media | 83 } // namespace media |
80 | 84 |
81 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 85 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
OLD | NEW |