Chromium Code Reviews| Index: base/android/content_uri_utils.h |
| diff --git a/base/android/content_uri_utils.h b/base/android/content_uri_utils.h |
| index 827ec92fa393c3cf58bb569b0bfcd5d6fb470775..020d9c6033a784469940f06e64a083e31b23c2ff 100644 |
| --- a/base/android/content_uri_utils.h |
| +++ b/base/android/content_uri_utils.h |
| @@ -23,6 +23,10 @@ BASE_EXPORT File OpenContentUriForRead(const FilePath& content_uri); |
| // Check whether a content uri exists. |
| BASE_EXPORT bool ContentUriExists(const FilePath& content_uri); |
| +// Gets mime type from a content uri. Returns an empty string if the uri is |
|
palmer
2014/11/19 00:23:54
Nit: Uppercase for acronyms ("MIME", "URI", et c).
qinmin
2014/11/19 02:13:07
Done.
|
| +// invalid. |
| +BASE_EXPORT std::string GetContentUriMimeType(const FilePath& content_uri); |
| + |
| } // namespace base |
| #endif // BASE_ANDROID_CONTENT_URI_UTILS_H_ |