| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // params: "width": <integral width of the video>. | 48 // params: "width": <integral width of the video>. |
| 49 // "height": <integral height of the video>. | 49 // "height": <integral height of the video>. |
| 50 VIDEO_SIZE_SET, | 50 VIDEO_SIZE_SET, |
| 51 | 51 |
| 52 // A property of the pipeline has been set by a filter. | 52 // A property of the pipeline has been set by a filter. |
| 53 // These take a single parameter based upon the name of the event and of | 53 // These take a single parameter based upon the name of the event and of |
| 54 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta. | 54 // the appropriate type. e.g. DURATION_SET: "duration" of type TimeDelta. |
| 55 DURATION_SET, | 55 DURATION_SET, |
| 56 TOTAL_BYTES_SET, | 56 TOTAL_BYTES_SET, |
| 57 STREAMING_SET, | 57 STREAMING_SET, |
| 58 LOADED_SET, | 58 LOCAL_SOURCE_SET, |
| 59 NETWORK_ACTIVITY_SET, | 59 NETWORK_ACTIVITY_SET, |
| 60 | 60 |
| 61 // Playback has ended. | 61 // Playback has ended. |
| 62 // params: none. | 62 // params: none. |
| 63 ENDED, | 63 ENDED, |
| 64 | 64 |
| 65 // The audio renderer has been disabled. | 65 // The audio renderer has been disabled. |
| 66 // params: none. | 66 // params: none. |
| 67 AUDIO_RENDERER_DISABLED, | 67 AUDIO_RENDERER_DISABLED, |
| 68 | 68 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 80 | 80 |
| 81 int32 id; | 81 int32 id; |
| 82 Type type; | 82 Type type; |
| 83 base::DictionaryValue params; | 83 base::DictionaryValue params; |
| 84 base::Time time; | 84 base::Time time; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace media | 87 } // namespace media |
| 88 | 88 |
| 89 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 89 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
| OLD | NEW |