OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FORMATS_WEBM_WEBM_INFO_PARSER_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_ |
6 #define MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_ | 6 #define MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
11 #include "media/formats/webm/webm_parser.h" | 12 #include "media/formats/webm/webm_parser.h" |
12 | 13 |
13 namespace media { | 14 namespace media { |
14 | 15 |
15 // Parser for WebM Info element. | 16 // Parser for WebM Info element. |
16 class MEDIA_EXPORT WebMInfoParser : public WebMParserClient { | 17 class MEDIA_EXPORT WebMInfoParser : public WebMParserClient { |
17 public: | 18 public: |
18 WebMInfoParser(); | 19 WebMInfoParser(); |
(...skipping 22 matching lines...) Expand all Loading... |
41 int64_t timecode_scale_; | 42 int64_t timecode_scale_; |
42 double duration_; | 43 double duration_; |
43 base::Time date_utc_; | 44 base::Time date_utc_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(WebMInfoParser); | 46 DISALLOW_COPY_AND_ASSIGN(WebMInfoParser); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace media | 49 } // namespace media |
49 | 50 |
50 #endif // MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_ | 51 #endif // MEDIA_FORMATS_WEBM_WEBM_INFO_PARSER_H_ |
OLD | NEW |