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 #pragma once | |
8 | 7 |
9 #include "base/time.h" | 8 #include "base/time.h" |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 | 10 |
12 namespace media { | 11 namespace media { |
13 | 12 |
14 struct MediaLogEvent { | 13 struct MediaLogEvent { |
15 enum Type { | 14 enum Type { |
16 // A WebMediaPlayer is being created or destroyed. | 15 // A WebMediaPlayer is being created or destroyed. |
17 // params: none. | 16 // params: none. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 72 |
74 int32 id; | 73 int32 id; |
75 Type type; | 74 Type type; |
76 base::DictionaryValue params; | 75 base::DictionaryValue params; |
77 base::Time time; | 76 base::Time time; |
78 }; | 77 }; |
79 | 78 |
80 } // namespace media | 79 } // namespace media |
81 | 80 |
82 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ | 81 #endif // MEDIA_BASE_MEDIA_LOG_EVENT_H_ |
OLD | NEW |