| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 MEDIA_INFO_LOG_ENTRY, | 88 MEDIA_INFO_LOG_ENTRY, |
| 89 // params: "info": String with details of an informative log entry. | 89 // params: "info": String with details of an informative log entry. |
| 90 | 90 |
| 91 // Debug log reported by media code. | 91 // Debug log reported by media code. |
| 92 MEDIA_DEBUG_LOG_ENTRY, | 92 MEDIA_DEBUG_LOG_ENTRY, |
| 93 // params: "debug": String with details of a debug log entry. | 93 // params: "debug": String with details of a debug log entry. |
| 94 | 94 |
| 95 // A property has changed without any special event occurring. | 95 // A property has changed without any special event occurring. |
| 96 PROPERTY_CHANGE, | 96 PROPERTY_CHANGE, |
| 97 | 97 |
| 98 TYPE_LAST = PROPERTY_CHANGE | 98 // Indicates that updated watch time statistics are available. |
| 99 WATCH_TIME_UPDATE, |
| 100 |
| 101 TYPE_LAST = WATCH_TIME_UPDATE |
| 99 }; | 102 }; |
| 100 | 103 |
| 101 int32_t id; | 104 int32_t id; |
| 102 Type type; | 105 Type type; |
| 103 base::DictionaryValue params; | 106 base::DictionaryValue params; |
| 104 base::TimeTicks time; | 107 base::TimeTicks time; |
| 105 }; | 108 }; |
| 106 | 109 |
| 107 } // namespace media | 110 } // namespace media |
| 108 | 111 |
| 109 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 112 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
| OLD | NEW |