OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FILE_CHECKER_H_ | 5 #ifndef MEDIA_BASE_MEDIA_FILE_CHECKER_H_ |
6 #define MEDIA_BASE_MEDIA_FILE_CHECKER_H_ | 6 #define MEDIA_BASE_MEDIA_FILE_CHECKER_H_ |
7 | 7 |
8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
| 9 #include "base/macros.h" |
9 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
10 | 11 |
11 namespace base { | 12 namespace base { |
12 class TimeDelta; | 13 class TimeDelta; |
13 } | 14 } |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 // This class tries to determine if a file is a valid media file. The entire | 18 // This class tries to determine if a file is a valid media file. The entire |
18 // file is not decoded so a positive result from this class does not make the | 19 // file is not decoded so a positive result from this class does not make the |
(...skipping 10 matching lines...) Expand all Loading... |
29 | 30 |
30 private: | 31 private: |
31 base::File file_; | 32 base::File file_; |
32 | 33 |
33 DISALLOW_COPY_AND_ASSIGN(MediaFileChecker); | 34 DISALLOW_COPY_AND_ASSIGN(MediaFileChecker); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace media | 37 } // namespace media |
37 | 38 |
38 #endif // MEDIA_BASE_MEDIA_FILE_CHECKER_H_ | 39 #endif // MEDIA_BASE_MEDIA_FILE_CHECKER_H_ |
OLD | NEW |