OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_ANDROID_MEDIA_RESOURCE_GETTER_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
12 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
14 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
15 #include "url/gurl.h" | 17 #include "url/gurl.h" |
16 | 18 |
17 namespace media { | 19 namespace media { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // provided callback function will be run. | 64 // provided callback function will be run. |
63 virtual void ExtractMediaMetadata(const int fd, | 65 virtual void ExtractMediaMetadata(const int fd, |
64 const int64_t offset, | 66 const int64_t offset, |
65 const int64_t size, | 67 const int64_t size, |
66 const ExtractMediaMetadataCB& callback) = 0; | 68 const ExtractMediaMetadataCB& callback) = 0; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace media | 71 } // namespace media |
70 | 72 |
71 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ | 73 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
OLD | NEW |