OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VIDEO_FRAME_METADATA_H_ | 5 #ifndef MEDIA_BASE_VIDEO_FRAME_METADATA_H_ |
6 #define MEDIA_BASE_VIDEO_FRAME_METADATA_H_ | 6 #define MEDIA_BASE_VIDEO_FRAME_METADATA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 class MEDIA_EXPORT VideoFrameMetadata { | 18 class MEDIA_EXPORT VideoFrameMetadata { |
18 public: | 19 public: |
19 enum Key { | 20 enum Key { |
20 // Sources of VideoFrames use this marker to indicate that the associated | 21 // Sources of VideoFrames use this marker to indicate that the associated |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 const base::BinaryValue* GetBinaryValue(Key key) const; | 129 const base::BinaryValue* GetBinaryValue(Key key) const; |
129 | 130 |
130 base::DictionaryValue dictionary_; | 131 base::DictionaryValue dictionary_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata); | 133 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace media | 136 } // namespace media |
136 | 137 |
137 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_ | 138 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_ |
OLD | NEW |