| 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 PROPERTY_CHANGE, |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 int32 id; | 94 int32 id; |
| 93 Type type; | 95 Type type; |
| 94 base::DictionaryValue params; | 96 base::DictionaryValue params; |
| 95 base::TimeTicks time; | 97 base::TimeTicks time; |
| 96 }; | 98 }; |
| 97 | 99 |
| 98 } // namespace media | 100 } // namespace media |
| 99 | 101 |
| 100 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 102 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
| OLD | NEW |