| 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/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "base/values.h" | 14 #include "base/values.h" |
| 14 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
| 15 | 16 |
| 16 namespace media { | 17 namespace media { |
| 17 | 18 |
| 18 class MEDIA_EXPORT VideoFrameMetadata { | 19 class MEDIA_EXPORT VideoFrameMetadata { |
| 19 public: | 20 public: |
| 20 enum Key { | 21 enum Key { |
| 21 // Sources of VideoFrames use this marker to indicate that the associated | 22 // Sources of VideoFrames use this marker to indicate that the associated |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 const base::BinaryValue* GetBinaryValue(Key key) const; | 144 const base::BinaryValue* GetBinaryValue(Key key) const; |
| 144 | 145 |
| 145 base::DictionaryValue dictionary_; | 146 base::DictionaryValue dictionary_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata); | 148 DISALLOW_COPY_AND_ASSIGN(VideoFrameMetadata); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace media | 151 } // namespace media |
| 151 | 152 |
| 152 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_ | 153 #endif // MEDIA_BASE_VIDEO_FRAME_METADATA_H_ |
| OLD | NEW |