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/time.h" | 8 #include "base/time/time.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 | 10 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 // The extents of the sliding buffer have changed. | 81 // The extents of the sliding buffer have changed. |
82 // params: "buffer_start": <first buffered byte>. | 82 // params: "buffer_start": <first buffered byte>. |
83 // "buffer_current": <current offset>. | 83 // "buffer_current": <current offset>. |
84 // "buffer_end": <last buffered byte>. | 84 // "buffer_end": <last buffered byte>. |
85 BUFFERED_EXTENTS_CHANGED, | 85 BUFFERED_EXTENTS_CHANGED, |
86 | 86 |
87 // Errors reported by Media Source Extensions code. | 87 // Errors reported by Media Source Extensions code. |
88 MEDIA_SOURCE_ERROR, | 88 MEDIA_SOURCE_ERROR, |
89 // params: "error": Error string describing the error detected. | 89 // params: "error": Error string describing the error detected. |
| 90 |
| 91 // A property has changed without any special event occurring. |
| 92 PROPERTY_CHANGE, |
90 }; | 93 }; |
91 | 94 |
92 int32 id; | 95 int32 id; |
93 Type type; | 96 Type type; |
94 base::DictionaryValue params; | 97 base::DictionaryValue params; |
95 base::TimeTicks time; | 98 base::TimeTicks time; |
96 }; | 99 }; |
97 | 100 |
98 } // namespace media | 101 } // namespace media |
99 | 102 |
100 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 103 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
OLD | NEW |