12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef BASE_ANDROID_CONTENT_URI_UTILS_H_
- #define BASE_ANDROID_CONTENT_URI_UTILS_H_
- #include <jni.h>
- #include "base/base_export.h"
- #include "base/files/file.h"
- #include "base/files/file_path.h"
- namespace base {
- BASE_EXPORT File OpenContentUriForRead(const FilePath& content_uri);
- BASE_EXPORT bool ContentUriExists(const FilePath& content_uri);
- BASE_EXPORT std::string GetContentUriMimeType(const FilePath& content_uri);
- BASE_EXPORT bool MaybeGetFileDisplayName(const FilePath& content_uri,
- base::string16* file_display_name);
- BASE_EXPORT bool DeleteContentUri(const FilePath& content_uri);
- BASE_EXPORT FilePath GetContentUriFromFilePath(const FilePath& file_path);
- }
- #endif
|