Chromium Code Reviews| Index: media/base/android/media_resource_getter.h |
| diff --git a/media/base/android/media_resource_getter.h b/media/base/android/media_resource_getter.h |
| index b833aa8189e797c623422f37e4b306207aaec3b8..4ca8aeb3bf594be6bd13f20c8ddcdad8027a4523 100644 |
| --- a/media/base/android/media_resource_getter.h |
| +++ b/media/base/android/media_resource_getter.h |
| @@ -5,6 +5,7 @@ |
| #ifndef MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
| #define MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
| +#include <media/base/android/media_url_interceptor.h> |
|
qinmin
2014/07/24 21:05:27
remote this
Ignacio Solla
2014/07/25 10:35:07
Done.
|
| #include <string> |
| #include "base/callback.h" |
| @@ -57,6 +58,14 @@ class MEDIA_EXPORT MediaResourceGetter { |
| const std::string& cookies, |
| const std::string& user_agent, |
| const ExtractMediaMetadataCB& callback) = 0; |
| + |
| + // Extract the metadata from a file descriptor. Once completed, the |
|
qinmin
2014/07/24 21:05:27
s/Extract/Extracts/
Ignacio Solla
2014/07/25 10:35:07
Done.
|
| + // provided callback function will be run. |
| + virtual void ExtractMediaMetadata( |
| + const int& fd, |
|
qinmin
2014/07/24 21:05:27
primitive types, just use int and int64
Ignacio Solla
2014/07/25 10:35:07
I use int and int64 now instead of references to t
|
| + const int64& offset, |
| + const int64& size, |
| + const ExtractMediaMetadataCB& callback) = 0; |
| }; |
| } // namespace media |