| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // Method for getting the platform path from a file system URL. | 33 // Method for getting the platform path from a file system URL. |
| 34 virtual void GetPlatformPathFromFileSystemURL( | 34 virtual void GetPlatformPathFromFileSystemURL( |
| 35 const GURL& url, | 35 const GURL& url, |
| 36 const GetPlatformPathCB& callback) = 0; | 36 const GetPlatformPathCB& callback) = 0; |
| 37 | 37 |
| 38 // Extract the metadata from a media URL. Once completed, the provided | 38 // Extract the metadata from a media URL. Once completed, the provided |
| 39 // callback function will be run. | 39 // callback function will be run. |
| 40 virtual void ExtractMediaMetadata( | 40 virtual void ExtractMediaMetadata( |
| 41 const std::string& url, | 41 const std::string& url, |
| 42 const std::string& cookies, | 42 const std::string& cookies, |
| 43 const std::string& user_agent, |
| 43 const ExtractMediaMetadataCB& callback) = 0; | 44 const ExtractMediaMetadataCB& callback) = 0; |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace media | 47 } // namespace media |
| 47 | 48 |
| 48 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ | 49 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ |
| OLD | NEW |